Sexie is awesome, the feature of analising class dependencies is a real timesaver!
Yes, the code was wrong, it would be:
class Library extends MovieClip {
public function doNothing() {
var arr:Array = [
mx.controls.Button;
com.cconline.componentes.viewers.abstractImageViewer
];
}
public static function main() {
(new Library()).doNothing();
}
}
I had to modify it to the following in order for mtasc to compile:
class Library extends MovieClip {
public function doNothing() {
var a:mx.controls.Button;
var b: com.cconline.componentes.viewers.abstractImageViewer;
}
public static function main() {
(new Library()).doNothing();
}
}
Thanks for the reply and keep up the good work!
Marcelo.
On 4/13/06, Clement ARNOUX
<[EMAIL PROTECTED]> wrote:
Hi Marcelo,
If you provide the exact generated code, then I don't understant why mtasc throws such an error, since there is no "mx" within...
plus, reading it, I can't see why this would not compile ~_~
currently, I cannot be of any help for you.
Clément
PS : thanks for using (or at last trying to use) Sexier :)2006/4/13, Marcelo de Moraes Serpa < [EMAIL PROTECTED]>: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.
_______________________________________________
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
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
