A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Creating a replay button in an flv.

Threaded View

  1. #3
    Odisey Odisey's Avatar
    Join Date
    Apr 2004
    Location
    WV
    Posts
    213

    Replay

    I am not sure about your code strategy there. Can you make it work from this strategy.

    Create a layer above the video component in the FLA. Create a key frame in the timeline at the #2 position. Here is where you put your replay button.

    When the movie loads the play head encounters a stop() AS at the #1 position - you put the stop() in of course. However I think the flv should download anyway becuase it is remote and dynamic. In your code if the film is playing it just does that. If it stops - or ends streaming, then the playhead goes to the #2 position. There your button will appear. Set behaviors so when you click it you go back to the #1 position where in theory your movie will begin the stream again.

    No I did not try this. Looks good on paper.

    ODC
    Last edited by Odisey; 09-27-2007 at 05:54 PM.
    Much to learn.... Much to learn....

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