On 9/17/06, dc <[EMAIL PROTECTED]> wrote:
is there a way to tell flash what types an array contains?

Not in ActionScript, unless you make some custom methods that access
it and check for the type at runtime.
In haXe, however, you can do just that. It can compile for FlashPlayer
6/7/8/9, into existing SWFs (or create them if you want): <haxe.org>
The for..in loop also works like you described, and it has some other
really nice features.

Mark
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to