View Full Version : Dynamically Assign Layer to loaded movie with AS3
Egomet
April 10th, 2009, 05:03 PM
Hello
I am loading a swf in my main timeline in Flash CS4 using the AS3.
However the movie appears on top of everything else, while I need it to be below everything else.
What is the way to specify a layer or order for the loaded swf?
Many thanks, any help really much appreciated.
IQAndreas
April 10th, 2009, 05:18 PM
Try addChildAt().
I could not possible explain it as well and perfectly as the Programming AS3 help section from Flash:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000148.html
Enjoy! If you still need help, just ask, but that should cover everything.
Egomet
April 11th, 2009, 11:44 AM
Try addChildAt().
I could not possible explain it as well and perfectly as the Programming AS3 help section from Flash:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000148.html
Enjoy! If you still need help, just ask, but that should cover everything.
thank you, really much appreciated !
this worked great.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.