[osflash] Mtasc not compiling Library.as generated by SexieR

Marcelo de Moraes Serpa celoserpa at gmail.com
Wed Apr 12 19:56:18 EDT 2006


Hello,

I´ve build an ant task to generate the mtasc exclusion file and the
library.as to be compiled into a "dll" swf. However, when I try to compile
this library.as with mtasc, I get the following error:

obj/Library.as:5: characters 3-55 : type error Unknown variable mx

which is the mx.controls.button inside the array... here´s the code SexieR
generates:

class Library extends MovieClip {
    public function doNothing() {
        var arr:Array = [

            com.cconline.componentes.viewers.abstractImageViewer
        ];
    }
    public static function main() {
        (new Library()).doNothing();
    }
}

It seems this code isn´t compatible with mtasc?

Thanks in advance,

Marelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060412/28be51bc/attachment.htm


More information about the osflash mailing list