Skip to main content
Participant
September 10, 2006
Question

Preloader viewed in Firefox - Hosted on Apache/Linux

  • September 10, 2006
  • 1 reply
  • 194 views
I'm loading an external swf file into an empty movie clip (sceneholder).

I've tested this in multiple environments, hosted on multiple servers. When opened locally from my HD, the preloader works in both IE/firefox. When hosted on windows IIS, the preloader works in both IE and Firefox. When hosted on Apache on a Linux (Red Hat) server, it only works in IE. In firefox you see the preloader and it hangs at "Loading 0%".

Here is the preloader code:

Frame 1:

percent = 0;

Frame 2:

_global.sceneString = "scenes\\scene" + _global.scene + ".swf";
_parent.sceneHolder.loadMovie(_global.sceneString);

Frame 3:

percent = Math.floor(_parent.sceneHolder.getBytesLoaded()/_parent.sceneHolder.getBytesTotal()*100);
myOutput.text = "Loading " + percent + "%";

Frame 4:

if(percent==100){
gotoAndStop(5);
}else{
gotoAndPlay(3);
}

Any help would be appreciated, thanks.
This topic has been closed for replies.

1 reply

bigstar1Author
Participant
September 13, 2006
I thought this might be related to case but I tested the paths with all lower and all upper case characters, and it didn't seem to make any difference. Any other ideas?