Target Path using variables?

Hey everyone,

I’ve run into a problem where I want to use a variable as part of a target path…example…

var myVar:String = String("myMC");
//say I have a MC with this path...this.myMC
this.myVar._y = 3;

is there a way to do something like this? Everything I try doesn’t work, yet I can use this concept in a different way.

//this works fine
var newColor:Color = new Color("States." + myArray*);

I have tried the tellTarget(object) also the with(object) but I can’t seem to get anything to work. Any ideas?