A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How to RemoveChild if FLVPlayback seekbar moved away from cuepoint

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    5

    How to RemoveChild if FLVPlayback seekbar moved away from cuepoint

    I have a FLVPlayback component with an FLV. I have it setup so that when the FLV reaches a cuepoint at the end, a button appears to rewind and play the video, and remove the button. This all works fine. My question is if there is a way to remove the button (removeChild) if the user goes back in the video using the seekbar in the FLVPlayback component?

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You can use the fl.video.VideoEvent.SCRUB_START eventlistener, which detects when the user is using the seekbar. Regarding the button did you create that button? Then it should be easy to remove it using the eventlistener.
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Posts
    5
    Perfect, that did it! Many thanks, that was a big help!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center