IFeelYourPain
04-15-2009, 02:29 AM
I'm using the actionscript 3.0 to goto and play frame 30 which is what my products page is on, only problem is when I want it to go to frame 25 where my home page is, it says I have a duplicate function. Help?
|
||||
Page navigationIFeelYourPain 04-15-2009, 02:29 AM I'm using the actionscript 3.0 to goto and play frame 30 which is what my products page is on, only problem is when I want it to go to frame 25 where my home page is, it says I have a duplicate function. Help? IFeelYourPain 04-15-2009, 08:31 PM Here's the code I used. stop(); productbtn.addEventListener(MouseEvent.CLICK, release); function release(evt:MouseEvent):void { gotoAndPlay(31); } homebtn.addEventListener(MouseEvent.CLICK, release); function release(evt:MouseEvent):void { gotoAndPlay(25); } IFeelYourPain 04-16-2009, 03:45 AM Here's the error: 1021: Duplicate function definition. function release(evt:MouseEvent):void { IFeelYourPain 04-16-2009, 06:06 PM EDIT: Wow... I've been so overwhelmed with complicated stuff, that I was looking for a complicated answer. I tried something simple and it worked. Thanks for the help anyway guys. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum