hello, if i have mc duplicated or an object instance name thats stored inside a variable how can i call it?
for ex:
_root.mov1._x = 53;
What if i want instead of mov1 a variable name. lets say randomname is a var and it holds the name of a duplicated object with a name i dont know since its random.
now how can i call it just like the example above cause i tried
_root.varname._x=33;
but it thought varname was an instance name instead of var.
Sorry i am new to AS and help will be appreciated.
ok i dont get why this doesnt work. for some reason the mc’s dont stop moving. once they reach center they keep on just moving in the middle of the button. help needed plz.
on(press){
i = i + 1;
mcname=“star”+i;
duplicateMovieClip (_root.star, mcname, i);