Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : Pre-loader bar "shows through" swf?


flashhappy
6/14/2004 5:13:40 PM
[quoted text, click to view]
Hi - you may want to check out a program called SWF, Lock & Load to
generate preloaders.
A free demo can be downloaded from
sflayer88
6/14/2004 11:47:15 PM
Hi - I am learning to use the loader and preloader bar components, and from the
Macromedia help I have set it up in the following way:

1. An .swf with one frame, two layers called "loadWhatever.swf"
2. the actual swf I want to display ("whatever.swf") which will be loaded into
the loader component in the "loadWhatever.swf"

loadWhatever.swf has in the first frame, first layer, the loader component box
+ the actionscript for loading an external swf:

loader.autoLoad = false;
loader.contentPath = "http://www.wherever.com/flash/whatever.swf";
pBar.source = loader;
// loading does not start until the load method is invoked
loader.load();

The first frame, second layer has the loader bar.

My problem is that the loader bar "shows through" the rest of the movie.
Meaning that the movie has this "100 loaded" graphic in the background the
entire time. Is there any way to fix this, other than going back to my original
movie and putting a white box over where the loader bar will be?

Am I setting this up correctly at all or is there something I am missing?
sflayer88
6/17/2004 3:25:30 AM
Tom Unger
6/17/2004 12:03:36 PM
sflayer88;
Perhaps the simplest solution would be to remove the loader from the
stage (place a blank keyframe in the preloader layer and insert frame in the
content layer--then advance the movie one frame when loading is complete).
-Tom Unger

AddThis Social Bookmark Button