Load & Unload Multiple External SWF files Tutorial in Flash ActionScript 3.0 CS3 CS4 CS5.5

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
94,246
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 18, 2009

Learn Adam's simple load and unload method for external swf files, jpgs, or whatever. Free Flash Actionscript 3.0 video tutorial and source file.

Source Files - http://www.developphp.com/view.php?tid=115&t=Load_and_Unload_Multiple_Ext...

  • likes, 7 dislikes

Link to this comment:

Share to:
see all

All Comments (161)

Sign In or Sign Up now to post a comment!
  • Great tutorial, would it be hard to tweak this to either a) load each swf into a target movie clip or b) load it into a layer lower then the menus?

  • Created a nice gallery thanks to your tutorial. It runs great when I play the swf locally. I copied the whole folder into a website root folder. Using DW CS5 I inserted the SWF. The "main" swf just sits there and does not load the other swfs. Uploaded all files to the server and the same thing happens when viewing the page online. The "main" SWF opens & does not load the the othe swfs. If anyone has used this gallery in DW CS5 I would appreciate some help in getting this gallery to work.

  • I applied this only for the gallery.swf, but when I click on Home etc. or other nav links, the gallery.swf is still in front and the content of Home or other appears behind that. Does anyone know how to solve this? Thank you

  • Thanks for the tutorial. It is working great for the project I have. One of the swfs is a video. Can you give me the AS so it will not loop but stop at the end. I tryed to change the AS but it would break the functions.

    Thanks

  • @goofyfoot2001 do not 'play() until the file is completely loaded. 

  • Does anybody know how to completely remove the external swf files loaded onto the main timeline??? Sound continues to play which means the external swf is still in memory. The more swfs are loaded the slower the computer becomes. Eating away at the memory.

    removeChild(loader); ...is not the answer.

    SoundMixer.stopAll(); ...is not the answer.

    loader.unload(); ...is not the answer

    What is the answer????

  • excellent post man.Cheers, has helped me out with some confusing code. I'll follow your blog for that!

  • great

    

  • The removeChild(loader); was exactly what I was looking for. Thanks... good video.

  • The flash gallery isn't working when embedded in webpage. It only shows the main frame not the swfs to be loaded. Any solutions please....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more