Ok this might be stupid but i used to practice that in as2 and i am stuck with it in as3
Assume i have in library 3 items and the linkage names are: _cl_1, _cl_2 and _cl_3.
Now i am reading from an xml the values 1,2,3. Or it could be more complex like 2,2,1,3,2,1,2
How can i create the corresponding objects using the xml values?
In as2 it was easy:
attachMovie(“cl” + count, “cl” + getNextHighestDepth(), “”);
// count is any variable passed
Many thanks in advance