I’m trying to define a target using a variable name. For example, whenever a MC lands on spot “Hot”, it sets a var = myname. I want to tell the nested movie (“prog”) inside “myname” to go to the next frame.
This is what I have that isn’t working:
on (press){
bag.myname.prog.gotoAndStop(5);
}
I’ve also had no luck with:
on (press){
bag.eval(myname).prog.gotoAndStop(5);
}
}