OK Im sure this is a bug with the loader class.
I've got a bit closer thanks to some help from Steve from Featurecreep Ltd. 

It seems to be down to firefox's (Browser.cache.disk.enable) 'default'
setting. As if you change this to 'user set' it works fine.

Instructions:

In firefox url bar type: about:config

Then filer under the word 'cache' to find the setting:
Browser.cache.disk.enable

Double click this settings so it changes to 'userset' value 'false' then go
back to my link:

http://www.darka.co.uk/MB_test/

And you'll see it works fine.

Does anyone know a solution to this issue. Im sure its down to the
loaderclass, as surely its not a firefox issue as id have seen this all over
the web

Cheers,
Dom

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 04 November 2005 11:33
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Ah yeah, I see the problem, and it's the same on my firefox 1.07, so that
clearly aint the issue.

I don't use the bokel class for preloading, so hopefully there are enough
people on the list who do, and have experience of it with firefox...

Cheers,

Nick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee
Sent: 04 November 2005 11:03
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Nick,

1.06 firefox

Ive made the profile.swf bigger in file size now just so you can see if the
preloading is working or not and if you get that horrible re-preload

Cheers,
Dom

The code im using for preloading at the moment is:

(ignore all the dirty if statements, im going to be animating the load bar
supersmooth)



bar_mc.onLoadProgress = function(loaderObj) {
        this._xscale = loaderObj.getPercent();
};
myListener_obj = new Object();
bar_mc.onLoadStart = function(loaderObj) {
        trace("Loading of "+loaderObj.getTarget()+" has started"); };
myListener_obj.onLoadProgress = function(loaderObj) {
        trace("Percentage: "+loaderObj.getPercent());
        if (loaderObj.getPercent()<1) {
                _root.tweener.tween("_width", 10, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>10) {
                _root.tweener.tween("_width", 20, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>20) {
                _root.tweener.tween("_width", 40, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>30) {
                _root.tweener.tween("_width", 60, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>40) {
                _root.tweener.tween("_width", 80, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>50) {
                _root.tweener.tween("_width", 100, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>60) {
                _root.tweener.tween("_width", 120, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>70) {
                _root.tweener.tween("_width", 140, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>80) {
                _root.tweener.tween("_width", 150, 2.5, "easeOutBounce", 0,
Preloader);
        }
        if (loaderObj.getPercent()>90) {
                _root.tweener.tween("_width", 160, 2.5, "easeOutBounce", 0,
Preloader);
        }
};
bar_mc.onLoadComplete = function(success, loaderObj) {
        

        trace("Loading of "+loaderObj.getTarget()+" is completed");
        _root.tweener.tween("_width", 172, 1.5, "easeOutSine", 0, Continue);
        function Continue() {
                nextFrame();
        }
};
myLoader = new com.qlod.LoaderClass();
myLoader.addListener(bar_mc);
myLoader.observe(this);
myLoader.load("movie_mc", "profile/profile.swf", myListener_obj);
myLoader.load("movie_mc", "reviews/reviews.swf", myListener_obj); stop();


then on the buttons im using:


// 1. Load Profile
function LoadProfile() {
        trace("Load Profile");
        EnableNav();
        loadMovie("profile/profile.swf", "movie_mc");

}
// 2. Load Reviews
function LoadReviews() {
        trace("Load Reviews");
        EnableNav();
        loadMovie("reviews/reviews.swf", "movie_mc");
        }


Cheers,
Dom




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Weekes
Sent: 04 November 2005 10:49
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Dom,

You got seperate preloaders for each section?  As on my PC (XP SP2) I don't
see any difference in behaviour between IE and Firefox...So I can't tell if
the movies you are preloading are preloaded or not, as there is only a delay
of like 1 second before the content starts appearing.  So im guessing it may
be a firefox issue on your machine?  What version?

Cheers,

Nick


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dominic Fee
Sent: 04 November 2005 10:38
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Steve

Sorry forgot to mention that yes ive also checked that too.

The work is very heavily in development so ignore the work in progress.

http://www.darka.co.uk/MB_test/default.asp


when the interface loads, it also preloads the profile.swf and review.swf
which work fine however when selecting them from the buttons on the left
(ignore menus and contact) that is when firefox insist to reload them from
scratch again.

Man this is driving me insane.

Cheers,
Dom



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Webster
Sent: 04 November 2005 10:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Bokel's LoaderClass cache issue with Firefox -
HELP!

Hi Dom,

> I have an initial swf in which im loading 2 external swf's into.  
> That's all
> working perfectly however firefox is not caching the external swf's 
> and is insisting on reloading them from scratch every time one of them 
> is requested from a button click, whereas Internet Explorer knows they 
> were cached and doesn't insist on preloading them again. (which is how 
> it should be)

Have you got caching turned off in Firefox? Seems like a simply enough
question, but we had memory caching (not just hd caching) turned off one one
of our machines here that caused us some real headaches with swf preloading.
Check the relevant settings in about:config, quit and restart the browser.

Hope this helps!

Cheers,

Steve

--
Steve Webster
Interactive Developer

Featurecreep Ltd.
www.featurecreep.com
14 Orchard Street, Bristol, BS1 5EH
0117 905 5047

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to