Clement,

'org.aggelos.somepkg.MyClass' in main...

Try: var a:org.aggelos.somepkg.MyClass;

(and you probably need to add an 'import org.aggelos.somepkg.MyClass;' to
your code...

What you now have in main() is AFAIK indeed invalid and bound to make MTASC
complain...

Tim K

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens
Clement ARNOUX
Verzonden: maandag 26 september 2005 22:10
Aan: Open Source Flash Mailing List
Onderwerp: [osflash] [MTasc] Invalid expression ????

Hi all,

is it normal that when trying to compile that :
class Test {
        
        public static function main() : Void {
                org.aggelos.somepkg.MyClass;
        }
}

MTasc returns an Invalid Expression parse error ?
Looks quite valid to me ~_~, since that is quite the kind of
expressions which is recommended to create external libraries

Thanks for any answer

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




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

Reply via email to