Help!

I am making a website and I have a problem. The main screen loads external swf files into a movie clip in the middle of the stage. Each movie clip has a preloader at the beginning. However, the preloader usually doesnt appear until it is as 90 percent or so. It appears for a second after a long period where the screen is blank and then disappears. I would like it to pop up right away so that people know something is happening. Otherwise they click and the screen disappears and doesnt come back for a while. The website is here

Only the home button and the overview button work right now. The overview button is the one I am concernec about because home loads automatically with the page. You wont see the preloader unless you clear your temporary files. Any help greatly appreciated!

In your swf files do you have:

-flash components?
-embedded fonts?
-1st frame that contains a memory intensive grphic or movie clip?

Also, what is the action script that your using?

REgards,
Viru.

The swf’s are graphic intensive but not in the first frame. There are no embedded fonts and the entire site is made in flash. If you need the fla file, I can send it to you. As far as the action script, it is pretty straightforward. The multiple levels make it a little more confusing.
bytes_loaded = Math.round(_root.mc.getBytesLoaded());
bytes_total = Math.round(_root.mc.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.mc.loadBar._width = getPercent100;
_root.mc.loadText = Math.round(getPercent
100)+"%";
_root.mc.total = bytes_total+" Bytes Total";
_root.mc.loaded = bytes_loaded+" Bytes Loaded";
if (bytes_loaded == bytes_total) {
_root.mc.gotoAndPlay(3);
}
This is the first frame. The second frame just goes back to the first. mc is the name of the movie clip I load the swf into on the main page.

if (bytes_loaded == bytes_total) { // use >= instead of ==.
_root.mc.gotoAndPlay(3);
}

What about components? like scrollbars or comething?

V.

There are components. I use a scroll pane but it isnt in the first frame

The scrollpane export some stuff in the first frame. Anything exported in first frame is preloaded before anything else in the movie. So it may causea load delay before the movie starts.

Is there any way around this?

Maybe drag any symbol that is beeing exported to first frame onto stage (any frame besides the first frame). And uncheck the export to first frame option.
That way i think flash will preload them normally.

ie: place those symbols in 2nd frame. Once the movie is fully loaded, tell flash to move to 3rd frame.

But what i do is avoid using components.

Ok. I will try it. I don’t know enough to avoid using the scrollpane component yet so I cant really change it.

If i just uncheck, export in first frame, what will happen? Will it not load the scroll pane until it gets to the frame it is in?

Ok excellent. I changed all my linkage options so things dont export in the first frame any more and it works much better. It still takes a second to appear but it shows up at about 50 percent instead of 90. Thanks :slight_smile:

It still shows up only at 50% ?

yeah. I think its because of my connection though. The file is only 130k or so and I am on a T1 so i don’t think its the script any more.

you are welcome to check it out now. www.geocities.com/galynxsystems

Yea, the preloader showed up at 18% for me.

yeah. it works now perfectly. I tried on a different connection. Thanks a bunch for all of your help :slight_smile:

Anytime =)