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" <[email protected]>
> 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
> [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