Hi guys,
I’m using CS4 with AS3 and have a little problem with my rewind and forward buttons. For the play and stop buttons it works fine with this script:
playButton.addEventListener (MouseEvent.CLICK, playButtonClick);
function playButtonClick (e:MouseEvent):void
{
play();
}
But then I tried this for the forward button:
forwardButton.addEventListener(MouseEvent.CLICK, forwardButtonClick);
function forwardButtonClick (e:MouseEvent):void
{
this.gotoAndPlay(this.currentframe + 50);
}
I get error messages.
All I need is to rewind and forward the movie about 50 frames and keep playing without stopping.
Any help would be appreciated,
thanks