Learn how to load a random Flash Movie onto a HTML web page.

Home • Members Tutorials Forum iSnapChat Contact Us 

 


Flash Tutorials

   

Loading a Random Flash Movie

 

Free Flash Tutorial

 


Intro    <<     Intro   1   2   3     Next   >>      

 

This tutorial will show you how to load a random Flash Movie onto your web page. Every time a user returns to your page a new Flash Movie will display. This can be used to make your site look fresh and dynamic or to deliver different messages or ads campaigns.

I sometimes use this system to deliver Flash Movies in the head section of the pages in this site. It is very powerful as the same Flash Movie can be used to control all the pages on the site. If I want to change the Flash Movies that are displayed I simply delete my current group of Flash Movies and replace them with the new ones. If I want to change the number of random Flash Movies that are displayed all I need to do is change a single line of ActionScript and upload the new version. That single change may take only a few minutes but it will effect thousands of pages on the webwasp site. There is no need to change any HTML on individual pages.

The ActionScript used in this tutorial is very simple and consists of only four lines. So for those of you wary of ActionScript, don't worry.

For this tutorial you'll be making something like this:

Example: Download the Flash file Beg 042


To change the Movie press your Browser's Refresh button (F5).

Note: I have loaded a series of 6 Flash Movies. The Flash Movies are displayed at random so occasionally the same Flash Movie will be displayed twice in a row. Obviously the more Flash Movies in your series, the less likely they are to repeat.

Click by Click: If you would like to view this tutorial without all the notes: Click by Click

         

Intro    <<     Intro   1   2   3     Next   >>      


29046 visitors to this page since 30 Oct 07 •

Phil Schulz's Facebook Profile
Webwasp is Phil Schulz's baby. You are welcome to contact me or become my Facebook friend: Click here

 Top of Page HomeMembers Tutorials Forum iSnapChat Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.