Re: [Flashcoders] loading a SWF to a specified layer
Have you tried this: // Load SWF for sawn timber intro var urlSawn:String="swfs/sawn_intro.swf"; var urlReqSawn:URLRequest=new URLRequest(urlSawn); ldr.load(urlReqSawn); yourEmptyMovieClipInstanceName.addChild(ldr);HTHJim _ Find the right PC with Windows 7 and Windows Live. http://www.microsoft.com/Windows/pc-scout/laptop-set-criteria.aspx?cbid=wl&filt=200,2400,10,19,1,3,1,7,50,650,2,12,0,1000&cat=1,2,3,4,5,6&brands=5,6,7,8,9,10,11,12,13,14,15,16&addf=4,5,9&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:112009___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] loading a SWF to a specified layer
Try using addChildAt(mcName, 0); Where 0 is the level in the display list you want to add it, and mcName is the name of your instance. In this example, 0 is at the very bottom of the display list. --Original Message-- From: Alan Neilsen Sender: flashcoders-boun...@chattyfig.figleaf.com To: 'flashcoders@chattyfig.figleaf.com' ReplyTo: Flash Coders List Subject: [Flashcoders] loading a SWF to a specified layer Sent: Nov 12, 2009 10:32 PM How can load a SWF into my movie so it does not end up on the very top layer? I am using the following to load the SWF which works, but always puts the loaded SWF on a layer above everything else: // Load SWF for sawn timber intro var urlSawn:String="swfs/sawn_intro.swf"; var urlReqSawn:URLRequest=new URLRequest(urlSawn); ldr.load(urlReqSawn); addChild(ldr); Can somebody please give me a simple example (not external code in a package or anything complicated) that will allow me to put the loaded SWF into a specified empty movie clip (or something) so it does not end up on the very top layer. This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] loading a SWF to a specified layer
Try using addChildAt(mcName, 0); Where 0 is the level in the display list you want to add it, and mcName is the name of your instance. In this example, 0 is at the very bottom of the display list. --Original Message-- From: Alan Neilsen Sender: flashcoders-boun...@chattyfig.figleaf.com To: 'flashcoders@chattyfig.figleaf.com' ReplyTo: Flash Coders List Subject: [Flashcoders] loading a SWF to a specified layer Sent: Nov 12, 2009 10:32 PM How can load a SWF into my movie so it does not end up on the very top layer? I am using the following to load the SWF which works, but always puts the loaded SWF on a layer above everything else: // Load SWF for sawn timber intro var urlSawn:String="swfs/sawn_intro.swf"; var urlReqSawn:URLRequest=new URLRequest(urlSawn); ldr.load(urlReqSawn); addChild(ldr); Can somebody please give me a simple example (not external code in a package or anything complicated) that will allow me to put the loaded SWF into a specified empty movie clip (or something) so it does not end up on the very top layer. This message is for the named person’s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] loading a SWF to a specified layer
How can load a SWF into my movie so it does not end up on the very top layer? I am using the following to load the SWF which works, but always puts the loaded SWF on a layer above everything else: // Load SWF for sawn timber intro var urlSawn:String="swfs/sawn_intro.swf"; var urlReqSawn:URLRequest=new URLRequest(urlSawn); ldr.load(urlReqSawn); addChild(ldr); Can somebody please give me a simple example (not external code in a package or anything complicated) that will allow me to put the loaded SWF into a specified empty movie clip (or something) so it does not end up on the very top layer. This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders