>>myArray:Array = [];
>>
>>and
>>
>>myObject:Object = {};Or, myArray:Array = new Array() and myObject:Object = new Object(); Nothing wrong with that. :) If anything, I like using the new operator as it is consistent with creating other objects. new Sound() new MovieClip() (AS 3.0), new SuperCoolClass(). Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ >>Sent: Tuesday, October 10, 2006 3:24 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Moving to AS2, array always undefined >> >>Sorry for the confusion. I wasn't referring to the typecasting just the >>instantiation. You should still use >> >>myArray:Array = []; >> >>and >> >>myObject:Object = {}; >> >> >>BLITZ | Steven Sacks - 310-551-0200 x209 >> >>_______________________________________________ >>[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

