Forums

ForumsProgramming Forum

Need help with a error I dont know how to fix - AS3

Posted Nov 3, '11 at 2:18pm

Xinito

Xinito

108 posts

Hello, I got a few Class files and when I test the game I keep getting this error:

C:\\Documents and Settings\\*******\\My documents\\AvoiderGame\\Classes\\DocumentClass.as, Line 1    5006: An ActionScript file can not have more than one externally visible definition: DocumentClass, onAvatarDeath

DocumentClass is a class and onAvatarDeath is a function

I have no idea what to do to fix this error, please help. :)

 

Posted Nov 3, '11 at 2:29pm

Xinito

Xinito

108 posts

Nevermind my function was out of the class by some reason, took me only 1 week to fix this -.-

 
Reply to Need help with a error I dont know how to fix - AS3

You must be logged in to post a reply!