PDA

Click to See Complete Forum and Search --> : problems on the web



willi-jay
09-05-2002, 12:51 PM
I made a flash file with a video screen and a menu. The menu has about 10 buttonds on it, each loading a video into the video screen. My file works perfectly on my hard drive but as soon as I upload my files to a server, my videos won't play. Are they just taking forever to load?

enpstudios
09-05-2002, 01:18 PM
How are you loading in the movies ? loadMovie ?
Also how big are these external movies ?

willi-jay
09-05-2002, 02:01 PM
Originally posted by estudioworks
How are you loading in the movies ? loadMovie ?
Also how big are these external movies ?
Yes, I'm using a load movie code and the videos are about 1.2mb each and are swfs.

enpstudios
09-05-2002, 02:04 PM
Can you post your loadMovie code ?

willi-jay
09-05-2002, 03:05 PM
Originally posted by estudioworks
Can you post your loadMovie code ?

on (press) {
_level0.createEmptyMovieClip("mc", 1);
_level0.mc.onEnterFrame = function() {
_level0.mc._x = 130;
_level0.mc._y = 32;
_level0.mc.loadMovie("movie.swf");
}
stop();
_root.onEnterFrame = function() {
if (_level0.mc._currentframe == _level0.mc._totalframes) {
_level0.mc.unloadMovie();
}
}
}

enpstudios
09-05-2002, 05:27 PM
Try making your external .swf an absolute link:

http://www.yourdomain.com/your.swf

willi-jay
09-05-2002, 07:12 PM
Originally posted by estudioworks
Try making your external .swf an absolute link:

http://www.yourdomain.com/your.swf

You hit the nail on the head, it works, although now my stupid video keeps looping! Ug!!! Is there a way around making it an absolute link?