this does not seem directly swfobject related please try a forum such as
actionscript.org or kirupa forums
 - S


On 19 August 2010 15:20, Rodrigo Peixoto <[email protected]> wrote:

> Good morning people,
>
> need a great help,'ve looked at various forums and have not found a
> solution, I am beginner to as3.
>
> How to make 3 banner are sequential?
>
> EX.: banner1 100% loading = display / after display banne2 100% loading =
> display after display banner3 100% loading = display
>
> Thank you all.
>
> *Following code below*
>
> var Xpos:Number = 0;
> var Ypos:Number = 0;
> var swf:MovieClip;
> var loader:Loader = new Loader();
> var defaultSWF:URLRequest = new URLRequest("swfs/banner1.swf");
> loader.load(defaultSWF);
> loader.x = Xpos;
> loader.y = Ypos;
> meuNovoMc.addChild(loader);
>
>
> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> // Btns Universal function
> function btnClick(event:MouseEvent):void {
>
>     meuNovoMc.removeChild(loader);
>     var newSWFRequest:URLRequest = new URLRequest("swfs/" +
> event.target.name + ".swf");
>     loader.load(newSWFRequest);
>     loader.x = Xpos;
>     loader.y = Ypos;
>     meuNovoMc.addChild(loader);
>
> }
> // Btn listeners
> banner1.addEventListener(MouseEvent.CLICK, btnClick);
> banner2.addEventListener(MouseEvent.CLICK, btnClick);
> banner3.addEventListener(MouseEvent.CLICK, btnClick);
>
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to