This makes sense to me because Steven is talking about the instantiation of the array and not the delcaration. So, in your properties you would still need this:

private var myArray:Array

Right?

V
----- Original Message ----- From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Tuesday, October 10, 2006 11:56 AM
Subject: RE: [Flashcoders] Moving to AS2, array always undefined


It's neither AS2 or AS1 centric.

Substituting [] for new Array() or {} for new Object() is universal
across many languages.  Personally, I prefer the visual [] and {} to the
wordy new Array() and new Object().  It's quicker to write, and it's
easier to read.

[]

{}

Plenty of research has been done on the subject of icons versus words
but suffice to say we don't write 100 dollars and 0 cents, we write
$100.00.  When you write music you don't write QUARTER NOTE C.  You just
draw a quarter note symbol on the C line.  That's how I look at writing
code.
:)

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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