I'm a little confused also about loading swf a control it. I didn't
succeeded. But I've readed somewhere that you can not import swf compiled in
as2 in a as3 loader, because the classes witch define the movieclip is
different. But I remember there is another class especially for as2
movieclip... sorry, my licence expired, and I didn't recept the Flex 2.0 I
by...
Speak again about that when I get my new licence
David Buff
----- Original Message -----
From: "Dave Geurts" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, October 18, 2006 10:31 PM
Subject: [Flashcoders] AS 3.0 - Loader.load() a .swf and than control it
I am a little confused with loading media into the loader object.
I can load a swf in fine but than how do you control that swf's timline? I
think that the swf gets loaded into a loader object, that has a display
container? Im a little lost with the loader object concept.
I assumend it would be loader.getChildAt(0)
i saw loader.content in there but not sure what that does.
-------
var introLoader:Loader = new Loader();
var request:URLRequest = new URLRequest("intro.swf");
introLoader.load(request);
trace(introLoader.content);
---------------
Intro loads fine and starts playing
Trace returns null
Another question is can you load in a .swf that was compiled in 2.0 even if
it has no AS in it and control its timeline?
thanks for your time!
-Dave
--------------------------------------------------------------------------------
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com