Hi,
Im trying to add a next button on every frame of my timeline. I have setup the first button no problems with:
Code Actionscript:next_button.addEventListener(MouseEvent.CLICK, clickFunctionNext); function clickFunction(evt:MouseEvent):void { gotoAndPlay.nextFrame(); }
but then if i want to add another next button on the next frame with the same function i.e. gotoAndPlay.nextframe() i get a duplicate function defenition error.
There must be some way of setting a repeated button up like this without having to give each one an individual instance name and function?
Thanks




Bookmarks