Old 23-12-2007, 03:30   #1 (permalink)
ehud36new
Registered User
 
Join Date: Dec 2007
Posts: 6
problem....in CS3

when in the problems he wrote me

1021 uplicate Function Definition

what that mean ?
  Reply With Quote
Old 23-12-2007, 04:31   #2 (permalink)
steveb
389 ppm and rising
 
steveb's Avatar
 
Join Date: Aug 2005
Location: Järvenpää, Finland
Posts: 4,933
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
  Reply With Quote
Old 23-12-2007, 04:58   #3 (permalink)
ehud36new
Registered User
 
Join Date: Dec 2007
Posts: 6
help 2

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.
  Reply With Quote
Old 23-12-2007, 06:00   #4 (permalink)
Shiro
shiro
 
Shiro's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,605
change clickHandler to clickHandler2 or anything other than clickHandler.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8