Hi everyone,
I was able to get almost everything done using the gotoandlearn tutorials on video controls but am stumped at one part. The rewind and play buttons work fine while the video is playing but not after it has stopped. I’d like to insert a little button on top of where the video is that starts the video over. Any ideas what I could add to the following?:
:cap:
ifFrameLoaded (_totalframes) {
stopAllSounds();
}
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play(“boogiewoogie.flv”);
rewindButton.onRelease = function() {
ns.seek(0);
}
playButton.onRelease = function() {
ns.pause();
}