Hi Marcelo,
You could store references to the clips in the array instead of String
paths. Then you could access them directly with trace(text_area_array[1]);
If you need help doing that, post the code you use to store the paths in
the array.
hth,
Bob
Marcelo Wolfgang wrote:
Hi list,
I'm trying to access multiple movieclips that path names are stored in
an array, this array is populated with the names when an area load and
its cleaned when an area unload.
Here's the code I have so far:
trace(thisRoot.areaLoader_mc.txt_galeria_mc); // if I delete this the
next one traces undefined
trace(thisRoot.areaLoader_mc.txt_galeria_mc.txt_img05_mc); // this is
the full path, it works
trace(text_area_array[1]) // txt_galeria_mc.txt_img05_mc (is a string)
what I'm trying to do
trace(thisRoot.areaLoader.text_area_array[1]) // undefined
trace(eval('thisRoot.areaLoader.'+text_area_array[1])) // undefined
Can anyone help me figure out how I can target my mc so I can run some
stuff on it?
TIA
Marcelo Wolfgang
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bob Leisle
Headsprout Software & Engineering
http://www.headsprout.com
Where kids learn to read!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders