0
Adding Playback Controls
New Here
,
/t5/animate-discussions/adding-playback-controls/td-p/870508
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?
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/adding-playback-controls/m-p/11662147#M338439
Dec 08, 2020
Dec 08, 2020
Copy link to clipboard
Copied
try this tutorial. https://www.youtube.com/watch?v=laeci3pfR7M
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

