[flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
First thanks for all your help guys. I'm making nice strides learning this language quickly. I'm working with events now. I created an arrayCollection to capture a query from coldfusion. I have the data being dumped into this variable just fine (I can do a combobox on it and see all of it).

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Daniel Gold
You're initializing the acUser collection when the singleton is created and adding a listener, which is fine. However, when you're getting the results back, you're changing the acUser collection reference to a different ArrayCollection GlobalVars.instance.acUser = event.result as ArrayCollection;

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
:[EMAIL PROTECTED] On Behalf Of Daniel Gold Sent: Thursday, July 17, 2008 8:45 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues? You're initializing the acUser collection when the singleton is created and adding a listener, which

Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues?

2008-07-17 Thread Scott
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sent: Thursday, July 17, 2008 5:24 PM To: flexcoders@yahoogroups.com Subject: {Disarmed} Re: [flexcoders] arrayCollection event COLLECTION_CHANGE issues? When I do that I get an error that the property is not defined. I can do