For the life of me I can't figure out what the problem is when I get this error message. It seems like a simple fix but I can't seem to figure it out. Any assistance with this would be greatly appreciated.
1071: Syntax error: expected a definition keyword (such as function) after attribute Function, not animation
I believe this error is caused by the capital letter in the word "Function" before the animation method. Method declarations should be in small caps.
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.