Hello everyone
I've put many instances of single movie clip on 'scene1'.
I named them 'car11', ..., car'55' (array 5x5)
Now in actionscript I need to change their visibility, but I have only strings with their names.
After some calculations I get: i=4; j=2;
So name would be: name = "car" + i + j;
Now I would like to hide this movie clip 'car42'.
I can't do this: _root.name._visible = false;
becouse 'name' is only a string object not a movie clip object.
How can I create a movie clip variable from this string?
Is it possible? or do I have to find a different workaround?
I've put many instances of single movie clip on 'scene1'.
I named them 'car11', ..., car'55' (array 5x5)
Now in actionscript I need to change their visibility, but I have only strings with their names.
After some calculations I get: i=4; j=2;
So name would be: name = "car" + i + j;
Now I would like to hide this movie clip 'car42'.
I can't do this: _root.name._visible = false;
becouse 'name' is only a string object not a movie clip object.
How can I create a movie clip variable from this string?
Is it possible? or do I have to find a different workaround?