My guess is that you're missing a { or } somewhere else in your script and
it's confusing the compiler. Check to make sure that you have both opening
and closing brackets everywhere else including if, switch, loops, etc.!k -----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, September 21, 2006 12:43 PM To: CF-Talk Subject: Re: Bizarre Flash/AS error Hi Kevin, Thanks....yes it is external...however, it seems to reload the AS file each time I publish -- if I make a change to the AS file I see it reflected in the error message. I'm hip to the datatypes, I tried that too but it didn't make a difference. Also tried putting the '{' on the second line as you did, same error. It's kind of amusing that it shows me the '{' in the error while it says it is missing. This is definitely in the WTF category. -- Josh > The flash compiler takes the scripts in the movie and creates a cache of > them called ASO files. Is this script in an external file? > > If it's not try defining it differently and don't forget that Flash has > gone > a lot more strict, so set your datatypes: > > doSomething = function ():Void > { > var z:Number = 0; > } > > !k ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253777 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

