Hello,
mmmh not really sure there is no way... You can use the
loaderInfo.bytesLoaded and bytesTotal to "estimate" that. For example, on
the first frame you can simply do :
if (loaderInfo.bytesTotal == loaderInfo.bytesLoaded)
{
//the swf is in the cache
}
Logically, if the swf is in the cache, it will already be fully loaded :)
There is no explicit way to do that otherwise, as far as I know.
Regards
Cedric
On Sat, Jul 5, 2008 at 11:21 PM, Paul Andrews <[EMAIL PROTECTED]> wrote:
> - Original Message - From: "Pavel Krusek" <[EMAIL PROTECTED]>
> To: "Flash Coders List"
> Sent: Saturday, July 05, 2008 9:51 PM
> Subject: [Flashcoders] preloader problem - browser cache
>
>
> Hi List,
>>
>> is there a way to determine in AS3 (or more precisely in preloader swf)
>> if "main" swf is already in the browser cache?
>>
>
> Not that I know. But what use would it be to you?
>
> Paul
>
> Pavel
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders