Re: [Flashcoders] video seek ability

2008-12-10 Thread Muzak
it that way though (as you described). regards, Muzak - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, December 10, 2008 6:20 AM Subject: Re: [Flashcoders] video seek ability Here's what you need to know

Re: [Flashcoders] video seek ability

2008-12-10 Thread Steven Sacks
Make sense? bytesTotal = 100% * width; duration = 100% * width; bytesLoaded / bytesTotal = 0%-100% * width time / duration = 0%-100% * width The relationship between bytesLoaded and time is 1 to 1, which is why my scrubber logic is flawless. That's where you went off the track. Eek, a pun!

[Flashcoders] video seek ability

2008-12-09 Thread Rodrigo Augusto Guerra
hi all, I need to develop a seek function in the video player. the user will be able to drag the progress bar going backwards or forward in the video timeline. I found this article: http://www.flashcomguru.com/index.cfm/2006/5/10/flvkeyframes http://polygeek.com/211_flex_seeking-in-flash-video

Re: [Flashcoders] video seek ability

2008-12-09 Thread Steven Sacks
Here's what you need to know to make a good scrubber for progressive download FLVs. 1. You need a background that shows the entire width of the bar. 2. You need a progress bar that shows how much of the video has loaded. The width of this bar is the background.width * (ns.bytesLoaded /