PDA

View Full Version : Problem from Test to Web


Kendall
06-06-2005, 06:52 PM
Hello,

I have a preloader that loads 6 different swfs. It loads one at a time and waits until the one before is done loading before it starts loading the next one.

This all works perfectly well when I do a CTRL+ENTER to test. It pulls the swfs off the server and plays them after the one before has finished and it has fully loaded.

The problem is after I publish the file and then upload it to the the server. Same server as the swf's that are being loaded from. The first 3 swfs perform as they should. But the 4th one doesn't. The fourth swf is a video file that is about ten minutes long with audio. It starts playing before it is fully loaded.

Any ideas as to why it works fine run locally but not when run from the server. If I view from a browser locally it performs as it should. But not until I try to view from the server does it not work properly.

http://www.quateams.com/ferrari/darren/preloader_V3.html is the version on the server.

If you would like to see my AS or .fla just let me know.

oldnewbie
06-06-2005, 08:03 PM
Is that video embedded on the main timeline of that external .swf or in a movie clip within that external movie? Is it a FLV? Or a simple embedded video?
What's your preloading code look like?
Do you have some stop action on the preloader frame(s)? And does it only move on if the preloader is done with?

Darren84
06-06-2005, 08:12 PM
_root.createEmptyMovieClip("feature_mc", 70);
loadMovie(feature, feature_mc);

is how I am loading my movies in

I have stop actions through the rest of the main movie timeline.

These are triggered until the variable featureplay==yes; then it is suppose to play.

featureplay is == no
until
framesloaded ==framestotal.

oldnewbie
06-07-2005, 01:53 AM
What is feature? A .swf?

Darren84
06-07-2005, 03:34 PM
yes. feature is a a swf. All 6 files being loaded and played are swf's.

feature is actually video put together in I believe Adobe Premeir, I didn't make it, and then compressed with Sorenssen.

In the same preloader I am loading other swf's that are flash animations with no problem.

oldnewbie
06-07-2005, 04:37 PM
Well as I was trying to suggest above, an embedded video on the main timeline would probably stream... Try embedding the video in a movie clip, rather than on the main timeline of the external .swf.
If that's doesn't work, I would have to see your preloading code, to make sure you're stopping the movie from streaming until it's fully loaded...