FORUMS: list search recent posts

Adobe CS3 as3 apel of external SWFs with buttons

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
pierre-olivier daunis
Adobe CS3 as3 apel of external SWFs with buttons
on Jan 20, 2010 at 3:54:23 pm

I created a site with a background image (keyboards)
In the screen of this synth,I want to appear animations (swf) in Flash (as3)
J've created so many buttons and external swf
I would like to appear in the swf area of the screen thanks to the synth knobs

So when I pressed the button 2 replaces the animation 2 animation 1 etc....
How do I go about it?

J've found and changed this on your forum:

Var swf1:Movieclip;
Var Loader1:Loader = new loader ();

Var defaultswf1:Url = new-request-url request ( "1.Swf ");
Loader1.Load (defaultswf1);
AddChild (Loader1);
Loader1.X = 571;
Loader1.Y = 196;

Var swf2:Movieclip;
Var Loader2:Loader = new loader ();

Var defaultswf2:Url = new-request-url request ( "2.Swf ");
Loader2.Load (defaultswf2);
AddChild (Loader2);
Loader2.X = 571;
Loader2.Y = 196;

Var swf3:Movieclip;
Var Loader3:Loader = new loader ();

Var defaultswf3:Url = new-request-url request ( "3.Swf ");
Loader3.Load (defaultswf3);
AddChild (Loader3);
Loader3.X = 571;
Loader3.Y = 196;

In this example my 3 anims overlap in the right place but I want to draw the buttons

But how to use buttons?(Code to be placed and where?)

I have also created a container?

He must change all the code?
Svp of ugly....
An example fla would be even better

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved