| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#2 (permalink) |
|
389 ppm and rising
Join Date: Aug 2005
Location: Järvenpää, Finland
Posts: 4,877
|
1021 Duplicate function definition = "You cannot declare more than one function with the same identifier name within the same scope." So just give your function a different name and that will solve the problem. My free fonts www.utfi.net
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Dec 2007
Posts: 6
|
if this is the script my_button.addEventListener(MouseEvent.CLICK,clickHandler); function clickHandler(event:MouseEvent):void{ navigateToURL(new URLRequest("web site"),"_self"); } how can i give my function a different name and that will solve the problem. |
|
![]() |