Flash Components      Flash Menu      Flash Gallery      Flash Slideshow      FLV Player      Flash Form      MP3 Player      PhotoFlow      Flash CMS      3D Wall      Flash Scroller

Flash / AS

Silverlight

WPF

ASP.net / PHP

Photoshop

Forums

Blog

About

 


FlashComponents
  Galleries
  Slideshows
  Menus
  Design & Effects
  Audio & Video
  User Interface
  Templates

 

 

 

 

 

 

 

 
Loading
Movies From A Remote Location

As Flash movies have become extremely complex, it becomes necessary to keep some portions of a movie on a separate file. The SWF files can easily be loaded onto the main movie quite easily. This tutorial will explain to you how to go about doing that. So, click on the "load movie" button below:

 
Once you click that, you should see the words "kirupa.com" oscillate left and right on your screen. No, the words weren't loaded from the animation itself. It came from an independent movie I have on my server. So, let's get started. First, download the partial source code. Click here.

Once you have opened up the partial source file, let's proceed on adding the little bits of information in.

  1. Once you have the file opened, right click on the button "load movie" and choose actions. See image below:

  1. From there you should see the Actions window. Now, all you have to do is follow this path. Go to Basic Actions > Load Movie. Once you double clicked Load Movie, you should see something resembling the following:

  1. The final step is to fill in the information. In the tab marked URL, copy and paste the following location:

    http://www.kirupa.com/developer/flash5/animation/loadm.swf 

    For the label marked "Level", change the 0 to a 1. The final action window should look like the following image below:

 

That is all there is to loading a movie from a variable. Unloading a movie is the same, except you change the property from the Actions to Load Movie to Unload Movie. The Levels are basically used to arrange elements on top of each other. If you want to load more than one movie, changing the level from one to two will make the new movie go over the existing. This is to ensure that the movies don't collide and cause problems.

I hope the information helped. If you have any questions or comments, please don't hesitate to post them on the kirupa.com Forums. Just post your question and I, or our friendly forum helpers, will help answer it.

The following is a list of related tutorial and help resources that you may find useful:

How to use the Forums
New, Upcoming, and In-Progress Tutorials
How to Help out kirupa.com
Writing Tutorials
 
Cheers!
Kirupa Chinnathambi
kirupaBlog

 


kirupa.com's fast and reliable hosting provided by Media Temple. flash components
The Text Animation Component for Flash CS3
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.
Check out our high quality vector-based design packs! Flash Effect Components
flash menus, buttons and components Digicrafts Components
The best flash components ever! Entheos Flash Website Templates
Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com Purchase & Download Flash Components
flash components Free Website | Make a Website
Streamsolutions Content Delivery Networks Learn how to advertise on kirupa.com