Hello,
i’ve got a php searchroutine that prints out unique url encoded objectnames and coordinates that are corresponding to instances of movieclips in my flash movie.
i.e. there are the
variables “objectname” and “xcoordinate”
that are imported into the movie using loadvariablesnum.
this seems to work, at least i am able to fill a textfield within the movie with this value correctly.
But i fail if as soon as i want to use this variable valued for i.e. the definition of movie clip properties etc.
if i use
_root[objectname]._x = 300;
simply nothing happens at all.
_root[objectname]._x
seems to be 0 if i try to print it to a textfield.
another case is
_root.movieclip._x = xcoordinate;
xcoordinate can be printed to a textfield but there’s no effect after the abvoe quoted routine.
any clue what i am doing wrong ? Is the syntax correct and is it basically possible to use imported variables for naming objects this way ?
I’m looking forward to any hint.
Sorry for my lame english but i’m from Germany.
This is a great site by the way !
thank you in advance
Oliver