You can also listen for the "complete" event which triggers when bytesLoaded equals bytesTotal.
Jason -----Original Message----- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: Saturday, March 19, 2005 4:55 AM To: [email protected] Subject: Re: [flexcoders] buffering video On Sat, 19 Mar 2005 13:13:59 +0100, Krzysztof Szlapinski <[EMAIL PROTECTED]> wrote: > How can I buffer the whole flv video before displaying it in MediaDisplay > controller? Try this: 1. Call load() 2. Listen for the 'progress' event 3. In the 'progress' event handler, compare 'bytesLoaded' and 'bytesTotal' 4. When 'bytesLoaded' equals 'bytesTotal' you're ready to go Manish Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

