Timing? Maybe source isn't set yet when you are referring to it? ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Stroz Sent: Tuesday, May 08, 2007 12:37 PM To: [email protected] Subject: [flexcoders] Extending ArrayCollection - where'd my 'source' go? I am attempting to cerate a custom class based on ArrayCollection. I can create a new collection based on this new class without issue. Anytime I refer to 'this.source.length' inside my class file, it returns 0. However, if I create a new arrayCollection, based on my custom class, in an MXML file, and bind { myAc.source.length} to a text bock, it displays the correct information. I can even set the new collection to the dataProvider of a dataGrid and everything displays as expected. Anyone have any ideas of what I may be doing wrong? Thanx in advance. -- Scott Stroz Software Architect AboutWeb, LLC http://www.aboutweb.com <http://www.aboutweb.com>

