all groups > flash actionscript > may 2007 >
You're in the

flash actionscript

group:

seek event



seek event rvail
5/22/2007 7:58:36 PM
flash actionscript: When using the FLVPlayback methods seek or seekPercent the seek event is not
triggered.

I'm using seekPercent to change positions in the FLVPlayback control, and want
to know when the method has completed. The documentation says to use the seek
event, but its not working.

I'm running Flash 8 on XP. Any help appreciated.

Re: seek event GWD
5/22/2007 8:21:55 PM
You may have discovered what I did. You can't seek to a paused state. So if you
are in a paused state then a seek doesn't seem to move the FLV playhead until
a play() is issued. (At least on a progressive download anyway, haven't tried
it with a true streaming video)

To get this to work I think I used a seek, play then pause.
Read all the comments at the bottom of this page. Also if its a progressive
flv, you can only seek to keyframes... something to remember.


Re: seek event GWD
5/22/2007 8:22:25 PM
Oops here's the page:
Re: seek event rvail
5/22/2007 8:34:46 PM
Re: seek event GWD
5/22/2007 8:51:49 PM
seeking property?
FLVPlayback.SEEKING is a class constant to use to check if the current state
is seeking. As such it is always defined as "seeking".

You can use it compare with the myFLVInstance.state property or check the
value of state in a stateChange event... e.g.
http://livedocs.adobe.com/flash/8/main/00003600.html#wp3759149


AddThis Social Bookmark Button