PDA

View Full Version : storing cfc remoting results as persistent variables in flash


jsank
11-22-2005, 10:22 PM
Be forewarned - I'm new to actionscript. Hopefully, this is a very simple question...

I have a class that sets variables for my flash application. In it, I have an array called 'concerts'. It starts off empty.

I have a remoting call to a coldfusion cfc that returns a recordset.

Once that recordset is returned, I want the variable 'concert' to take on that value and the component displaying it to update.

Is there a simple way to do this?

spy
11-23-2005, 02:09 PM
yes there is!.. you can use the remoting connector and handle the result via actionscript in order to populate your array

tg
11-23-2005, 04:38 PM
or you could use the eventDispatcher that will update your component anytime concert is updated.