Skip to main content
Known Participant
September 5, 2012
Answered

KGLAD

  • September 5, 2012
  • 2 replies
  • 1357 views

I got Flash CS3 installed. Is there an easy way to create a master swf now? And will i be able to load external movieclips from CS3 to Flash 8. Example: My master swf is CS3 and my external movieclips are flash 8 or vice versa.

This topic has been closed for replies.
Correct answer kglad

use the loader class:

var loader:Loader=new Loader();

addChild(loader);

loader.load(new URLRequest("yourloadedswf.swf"));

2 replies

kglad
Community Expert
Community Expert
September 5, 2012

the key issue is not whether a swf is created with cs3 or flash 8.  it's whether the swf is published for as2 or as3.

an as3 swf can load as2 swfs and both the actionscript 2 and 3 will work. 

an as2 swf can load an as3 swf but the actionscript in the as3 file won't work.  however, you can circumvent that limitation by creating a new master as3 swf.

Known Participant
September 5, 2012

Thanks. What code will i use in my AS3 master swf.

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
September 5, 2012

use the loader class:

var loader:Loader=new Loader();

addChild(loader);

loader.load(new URLRequest("yourloadedswf.swf"));

Inspiring
September 5, 2012

wiredSubjectLineLol

Inspiring
September 5, 2012

use loadMovie();