Solved

Flash FLVPlayBack Action Script 2.0

Posted on 2012-04-05
1
1,476 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PYTHON: Updating local variable in .TPL file 24 122
haveThree challenge 22 100
countHi challenge 25 84
Flash ActionScript 6 21
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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now