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
Solved

Flash FLVPlayBack Action Script 2.0

Posted on 2012-04-05
1
1,509 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
object oriented javascript web form 8 144
Adjust the position 3 65
Capture logon name 13 87
collection output issue 9 36
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

856 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