[osflash] MTASC 1.11 Stable Released
Nico Zimmermann
nz at powerflasher.de
Tue Nov 29 11:34:45 EST 2005
Work's great now!
Thanks!
-----Ursprüngliche Nachricht-----
Von: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] Im Auftrag von Nicolas Cannasse
Gesendet: Dienstag, 29. November 2005 17:25
An: Open Source Flash Mailing List
Betreff: Re: [osflash] MTASC 1.11 Stable Released
> Hi Nicolas,
>
> I'm playing around with the typed arrays - thanks for this great feature!
>
> Somehow I cannot construct such an array although you are writing:
> "Please be also careful when initializing your Array since you can still use any Array to initialize it".
>
> var list : /*Number*/ Array = new Array();
> var list : /*Number*/ Array = [];
> var list : /*Number*/ Array = list2;
>
> Result in all cases; [...]characters 30-X : type error Array should be #Number.Array
>
> And I think it's a little pity that you have to write the type full qualified...
>
> import a.Clazz;
> [...]
> var list : /*Clazz*/ Array; <- does not work
> var list : /*a.Clazz*/ Array;
>
> Can you help?
Two good reports :)
I fixed both of them.
You can now initialize or assign an array with both new Array() and any
literal array [a,b,c] (in that case be careful because no check is done
that type(a) == type(array)).
And also, classes are using imports lookup.
I updated the 1.11 zip file with theses fixes. Since it's not a major
problem I didn't change the version number. Please update and check
everything is ok by now.
Nicolas
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
More information about the osflash
mailing list