Groups | Blog | Home
all groups > macromedia flash sitedesign > november 2004 >

macromedia flash sitedesign : problem with a preloader


peechband
11/16/2004 10:37:21 AM
I am having a problem with my pre loader, I have it set up as the first three
frames of my flash movie, the problem that I am having is that it doesn't show
the image I have set up, or the counter until it gets to about 96% loaded. I
would like to get it so that it shows the first frames while the movie is
loading. if anyone can help I would appreciate it greatly. thanks in advance.
Stat1124
11/16/2004 10:11:18 PM
The problem that your having is that unfortunately for the preloader to display
the image while loading, it has to load whatever is in the first few frames
before it can display it.

So you have to figure out what is loading in those first three frames, and how
large the file is.

If its your display image thats waiting to be loaded then the loader will sit
at that frame that the image appears on until its loaded and then the preload
continues to load the rest of the movie. If you test your movie (Ctrl+Enter)
and look at the bandwidth profiler you should see a green bar that shows the
progress of the load. If its stick on the first or second frame, whichever the
image is on, then that means its loading the image before displaying it. There
is a couple ways around this. First is to reduce the filesize of the image, or
recreate it in flash in vector format. Make the image smaller, or choose a
different image which isnt as big.

If you have something else on the stage that is alpha'd out but is still
present in those first few frames, will have to be loaded too before the image
will appear.

So take a look to see what's loading in the first three frames and you can
start narrowing down the problem. You can also click the Generate Size Report
checkbox in the export window to get a better idea of what is loading in that
area.

Hope this helps!

Stat
peechband
11/17/2004 3:37:27 AM
hey thanks for the advice, I thought I kept the images pretty small on the
first few frames, there is just one photo, on the second frame, some numbers,
and a little progress bar, I'll see what I can do, thanks. i'm curious, which
browser were you using when you tried to load the page? I've found it doesn't
load in safari when you go to the .html file, anyone have any ideas?
AddThis Social Bookmark Button