Yeah, I get tired of doing this just to get code completion:

var thisCustomObject:CustomObject = myObjects[i] as CustomObject;
thisCustomObject.alpha = .5

Besides the obvious type checking benefits, with Vectors, I won't have to do it 
that way anymore to get good code completion from what I have read about them 
since the array knows the types it contains.  From what I understand about them 
anyway, haven't had a chance to use them yet.

Jason Merrill
Bank of America 
GCIB & Staff Support L&LD
Instructional Technology & Media 
Join the Bank of America Flash Platform Developer Community 
Are you a Bank of America associate interested in innovative learning ideas and 
technologies?
Check out our internal  Innovative Learning Blog & subscribe. 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Wednesday, September 24, 2008 10:21 PM
To: Flash Coders List
Subject: Re: [Flashcoders] AS3 additions/changes in CS4?

Also autocompletion and member verification and such for IDEs like FDT and
FlashDevelop since it already knows the type of each list item. It's a
god-given once you get used to it. I've been using Vectors like there's no
tomorrow on a particular project of mine and it's really awesome. Going back
to arrays is just weird, feels like I'm going back to AS2.

Zeh

On Wed, Sep 24, 2008 at 5:58 PM, Paul Andrews <[EMAIL PROTECTED]> wrote:

> ----- Original Message ----- From: "Mendelsohn, Michael" <
> [EMAIL PROTECTED]>
> To: "Flash Coders List" <[email protected]>
> Sent: Wednesday, September 24, 2008 8:44 PM
> Subject: RE: [Flashcoders] AS3 additions/changes in CS4?
>
>
>  Not sure what strongly typed arrays are.  What are the advantages?
>>
>
> Being able to type the array means not having to cast array members and
> detecting problems at compile time rather run time.
>
>
>
>>  OOooh - strongly typed arrays!  Awesome!  I've been waiting for that
>>>
>> for a long time!  Sweet.
>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to