You need to add –version 8 to the command line for mtasc.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graeme Asher
Sent: 13 December 2005 21:55
To: Open Mailing List Source Flash
Subject: [osflash] mtasc V2 patch issue

 

I recently ran the mtasc V2 patches for the core 7, core 8 and mx classes.  Everything went smoothly except for the core 8 patching which was unable to correctly patch flash.geom.Point.  When working with these patched classes mtasc returns the following error for flash.geom.Point:

 

flash/geom/Point.as:21: characters 17-20 : parse error Unexpected add

 

 

line # 21 from flash.geom.Point:

 

public function add(v:Point):Point;

 

 

Seems to be having an issue with the keyword "add" or the deprecation (back in 5?) of add to + for concatenating Strings.  Did anyone else encounter this and if so what is the appropriate solve.

 

Thanks!

Graeme

 

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to