First, I am not an expert? I played with flash for a couple of months about two
years ago and my knoledge is very limitted
2nd I am still using Flash 4:-( Keep this in mind when you read my instruction
because your version may look slightelly different.
I can answer all but one of your questions but I will do it in steps since it
will take some work. I am not sure about your question ?d? but we will deal
with it later.
Step One : Simple Preloader
I created a simple movie which displays two, very large photographs with a
little tween, to add to the movie size which we need to test the preloader:
http://miko.idy.pl/preloader1.swf Here is where you can download the fla file
http://miko.idy.pl/preloader1.fla If for some reason you can?t download it, just drop me an email:
lowbid@optonline.net
Layer 1 and 2 which I named pic#1 and pic#2 displays the pictures and this is
our simple movie which, because of the size of the graphics, will need a
preloader.
My preloader is on a separate layer which I named preloader.
This preloader in the first frame will check if frame # 75 is loaded and if it
is it will send the movie to frame number 10 which is the first frame of the
actual movie. (keep in mind that for simplicity I am checking the loading
status of frame # 75 which is the last frame of my movie. In reality this is
not recommended. You would specify a frame which would give the user something
to do while the rest is loading. For example, in your case, you want to show
the first page while all others are still loading)
If the frame 75 is not loaded the movie instantly moves to frame # 2. In frame
# 2 you write a simple code which sends the movie back to frame # 1 which will
again check the loading status of frame # 75. In effect you are creating a loop
between frame one and two until frame # 75 is loaded.
Here is how its done:
1.Create a key frame in the first frame of the preloader layer.
2. double click on this key frame which will open the Frame Properties window
3. From this window select Action Tab
4. Click on the + tab which will drop down a code/commend window
5. From the commend window select IF Frame IS Loaded commend
6. To the right select Number and enter 75 in the window. This specifies frame
which program will check to see if its loaded.
7. you are still in Frame Properties window. Your code should read:
If Frame Is Loaded (75)
End Frame Loaded
8. Click on the + tab again and from the drop down window select GO TO
9. On the right bottom select GO TO AND PLAY and on the right enter 10 which
specifies the frame you want the program to go to when frame 75 is loaded.
Your code should look like this:
If Frame Is Loaded (75)
Go to and Play (10)
End Frame Loaded
With this in place the program will check for the loading status of frame #
75. If 75 is loaded the preloader will move the movie to frame 10 which is the
beginning of the movie. If frame 75 is not loaded the preloader will do nothing
and the movie will instantly move forward to frame 2 then 3 ,4,/..5?? So what
we have to do is to stop it before it reaches the beginning of the movie.
Here is how:
1. Make the 2nd frame of the preloader layer a Key Frame.
2. double click on this key frame which will open the Frame Properties window
3. From this window select Action Tab
4. Click on the + tab which will drop down a code/commend window
5. Seelect GO TO then GO to and enter frame 1
Your code should look like this:
Go to and Play (1)
This is it!
One problem - if you stopped here the preloader will work but while the movie
is loading there wouldn?t be anything display on the screen.
I added on the layer above, which I called Preloader Graphic, a simple
animation which displays only in frame one and two, which means only during the
time the movie is loading.
Good luck with step #1:-)
Mike