Solved

Flash FLVPlayBack Action Script 2.0

Posted on 2012-04-05
1
1,510 Views
Last Modified: 2012-04-05
I need to create a video replay button. I am using a FLVPlayBack component in Flash AS2.0. I have named the player as display. I want the video to start playing from the beginning of the video as soon as the replay button is pressed. Any help would be most welcome. Cheers
0
Comment
Question by:skyscream
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 37810694
Hi there. You do realise that you can change the default playback controls on the FLVPlayback component and there's a default rewind button that will start the play again?
but assuming you want to add your own button for whatever reason, the easiest way to do it in AS2 would be like this.

btnName.onRelease = function()
{
      display.stop();
      display.seek(0);
      display.play();

}
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question