Something
public text v1 · immutablefunction handleclip(id:String,flag:Boolean,depth:Number)
{
trace(curravatar); 'This holds the string 'Avatar1_MC'
Avatar.curravatar.removeMovieClip(); ' Doesn't work. I think the STRING value of curravatar is creating a problem
Avatar.attachMovie(id,id,depth);
Avatar.id.Height=old_height;
Avatar.id.Width=old_width;
}