[flexcoders] Re: Array reference vs values

2008-07-17 Thread Amy
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: When you do this: var date:Date = new Date(); You're creating an instance of Date and a reference to it named date. When you do this: var ref:Date = arr[0] as Date; You're creating another reference to

[flexcoders] Re: Array reference vs values

2008-07-17 Thread Amy
--- In flexcoders@yahoogroups.com, Darren Houle [EMAIL PROTECTED] wrote: Josh Okay, so here's what I did... var person : Person = new Person(); person.wakeup = new Date();person.breakfast = new Date();person.lunch = new Date();person.dinner = null;person.bedtime = null; var wfArr : Array