Could you just dispatch another event that calls the setup function?  The
dispatcher could be your component or the component that changes the
data...?
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of jensen.axel
Sent: Tuesday, January 16, 2007 12:39 PM
To: [email protected]
Subject: [flexcoders] CreationComplete help....



Hello,

I have a custom Component (it is an edit/create form) that i'm
initializing... when i go and initialize the component, it runs a
function on 

creationComplete="setup()"

then i save some data, and change viewStates... 

then i pick a different item from a <mx:Tree>, and reload the
component, to edit the new data i've selected from my tree... and the
setup() function never runs, because the component has already been
created, so i'm wondering how i can get this function to run every time?

Axel



 

Reply via email to