i have this on the first frame on the main timeline:
middleMain.[COLOR=red]temp[/COLOR] ._x = test[2];
[COLOR=red]temp[/COLOR] is not a movie clip, it is a variable, how can i make it look for that variable value inside of middleMain instead of it looking for a movieclip called temp inside of middleMain.
if you want to access the temp variable from inside middleMain (for example, code attached to middleMain), then you would just get it by simple using temp instead of middleMain.temp
since the code would be within middleMain, then all of its variables, including temp would be local, meaning you can simply call each variable without having to use middleMain.variable
my bad, guess i didn’t explain myself well enough. the temp variable is on main timeline, the value of the temp variable is the name of a movieclip inside of the movieclip middleMain. lets say that the value of temp is middleSecond. i want to change middleMain.middleSecond._x to lets say to 5 from the main timeline. but instead of: