my bad :(

it seems it was working, but it was very fast cause of my connection
and size of swf.

one thing though, is that i have a preloader made with an
Event.ENTER_FRAME so i can slow down the speed of the preloader and
the first 3 or 4 readings of the evt.target.bytesLoaded it returns
NaN, after those it goes ok.

thanks,
Herculano Campos

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> How are you reading from bytesLoaded, and what do you mean by "real
> number"?
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of herklano
> Sent: Monday, May 21, 2007 12:42 PM
> To: [email protected]
> Subject: [flexcoders] SWFLoader > bytesLoaded?
> 
>  
> 
> hi,
> 
> using this method: SWFLoader.bytesLoaded does not give a real
> bytesLoaded number of the swf being loaded!
> SWFLoader.loaderInfo.bytesLoaded also does not work!
> 
> Anyway to use bytesLoaded in a SWFLoader component without using a
> ProgressEvent? I'm using a Event.ENTER_FRAME to build a smooth
> preloader.
> 
> thanks,
> Herculano Campos
>


Reply via email to