Copy link to clipboard
Copied
I have a main swf which I load another swf into using Loader and then addChild....this works fine.
The loaded swf covers the main swf completely
The loaded swf has buttons on it, when one of the buttons is clicked I would like the main swf to come to the front. Can this be done?
If you used addChild to place the loaded swf you should be able to use addChildAt() (specify 0 for the index) to place it at the bottom of the heap.
Copy link to clipboard
Copied
If you used addChild to place the loaded swf you should be able to use addChildAt() (specify 0 for the index) to place it at the bottom of the heap.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now