Hello,
I am subloading swf to a main swf file. How i have it so far is:
Load swf1 to main - addChild(swf1)
when swf1 finishes - addChild(swf2) swf2 uses an array from swf1 class
so if i am correct the “tree” now looks like Main->swf1->swf2
When the swf2 finishes i want to play swf1 again so i addChild(swf1) but i get an error saying that i cannot add the same swf as child of itself which is logical.
What i want to do is to clear all swf children of main at the end of swf2 and add again swf1 to main.
If i remove swf1 from the tree when it finishes so it looks like main->swf2 then i cannot access the array of swf1 which i need in the next swf2.
Any help on this is greatly appreciated.
Thanks