Skip to main content
October 29, 2008
Question

Importing several .swf Files

  • October 29, 2008
  • 3 replies
  • 527 views
Hello Everyone,
I am pretty new to action scripting and I am having trouble getting a files to play in sequence upon linking. This is what I have figured out up to this point.

1. I have created one main folder and loaded the rendered .swf files for the presentation.
2. I opened flash and used the loadmovienum code to link the external files and if the canvas is the same size of the code it will play.

The problem is at this point if I use the same code with multiple files they will overlap and play at one. Also is there a way to get them to play at differenent canvas sizes within the same flash file? I would greatly appreciate any help that could be provided.
This topic has been closed for replies.

3 replies

Known Participant
November 2, 2008
On each frame you can put an actionscript to load a movie into a movieclip...

Creation site internet | Radins | Jeux Concours | Programme TV
kglad
Community Expert
Community Expert
October 30, 2008
what do you mean by, "how then do you call an external file to load on the other frames"?
kglad
Community Expert
Community Expert
October 29, 2008
if you want to load a swf after a previously loaded swf has completed playing, you shouldn't execute that subsequent loadMovieNum() function until the previously loaded swf has completed playing.
October 29, 2008
Hi Kglad,
Thank you for responding to my post. However, since I am still new to actionscripting I am unsure of how to program this code to sequence the .swf files in order. Do you perhaps know how to get them to execute one after the other? Also is there a way to play them even if the canvas is a difference size than the file itself? Thank you for your help!

kglad
Community Expert
Community Expert
October 29, 2008
i can't tell you how to code for that because i don't know what determines when a previously loaded swf completes play.

but, if your swf completes play when the main timeline reaches its last frame, the easiest way to sequentially load and play your swfs, is to add the next loadMovieNum() function to the last frame of the previous swf.