Flash movie not loading in Safari

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
FuZzY665
Registered User
Posts: 58
Joined: 11 Aug 2006, 02:00
Location: Durban
Contact:

Flash movie not loading in Safari

Post by FuZzY665 »

Hey Guys

I'm trying to code a preloader for my flash movie and have succeeded in doing so, but the flash swf won't load in Safari on a Mac. It loads fine on everything else eg: Firefox, IE, Firefox on Mac, but no Safari on Mac.

Any help would be great. Heres my code for the preloader bar.

Code: Select all

stop();
import fl.controls.ProgressBarMode;

loadbar.mode=ProgressBarMode.MANUAL;

this.addEventListener(Event.ENTER_FRAME, loadProgress);

function loadProgress(e:Event) {
    var bytesLoaded=this.loaderInfo.bytesLoaded;
    var bytesTotal=this.loaderInfo.bytesTotal;
    loadbar.setProgress(bytesLoaded, bytesTotal);
    if (bytesLoaded==bytesTotal) {
        this.removeEventListener(Event.ENTER_FRAME, loadProgress);
        gotoAndPlay(2);
    }
}
RuadRauFlessa
Registered User
Posts: 20576
Joined: 19 Sep 2003, 02:00
Location: Bloodbank

Re: Flash movie not loading in Safari

Post by RuadRauFlessa »

Can you provide more detail on what actually happens in Safari. Does it load but the progress par does not show or does it simply not load the swf file at all. What does it show on screen? ets ets....
:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:
Spoiler (show)
Intel Core i7-2600k @ 3.4GHz
Corsair Vengence 2x4GB DDR3 2000MHz
Thermaltake Toughpower 850W
ASUS nVidia GTX560 1GB
CoolerMaster HAF 932
FuZzY665
Registered User
Posts: 58
Joined: 11 Aug 2006, 02:00
Location: Durban
Contact:

Re: Flash movie not loading in Safari

Post by FuZzY665 »

The progress bar appears on stage, but doesn't load and if I add a dynamic text field to the stage as a percentage indicator all it says is "infinity" rather than showing the percentage.
Post Reply