I have a list:
(code is example only)

listWhatever = ["mc1", "mc2"];

This list is cycled through to generate some mcs inside parent_mc.
I now want to target one of those mcs again. Lets say I want to target the first one in my list. I thought I could use eval() to generate the statement, like so:

eval("parent_mc."+listWhatever[0]);

But trace() that returns undefined. How do I do it?

Thanks.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to