• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Adding Playback Controls

New Here ,
Apr 16, 2006 Apr 16, 2006

Copy link to clipboard

Copied

I am trying to add the fast forward and fast rewind playback controls to my video object so that when the user presses the button, the movie will ffwd/frwd. Im using a video object so the movie is streamed using the NetStream and NetConnection values and the flv is loaded from an external source. I have managed to get the pause and play functions working using the following actionscript:

var playButton:Button;
var pauseButton:Button;

myNS.play("movie.flv");
myNS.pause(true);

//Plays movie
playButton.OnPress = function() {
myNS.pause = (false);
}
//pauses movie
pauseButton.OnPress = function() {
myNS.pause = (true);
}

...but im not sure of the AS to use for making functional fast rewind and fast forward buttons . Can anyone help?
TOPICS
ActionScript

Views

254

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 08, 2020 Dec 08, 2020

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines