Hello Sho, If I turn it into a setter, then I guess its viewed/accessed as a prop, and then maybe I could use the <SetProperty> tag on the custom component...
That looks to be the only way... Thanks for the suggestion. Paul --- In flexcoders@yahoogroups.com, "Sho Kuwamoto" <[EMAIL PROTECTED]> wrote: > > I don't believe there is a way to do this. > > Is your function something that you could turn into a setter? > > -Sho > > > > ________________________________ > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of paulwelling > Sent: Wednesday, February 07, 2007 6:50 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] View State - How to call a function on a > custom component??? > > > > Hello, > > I would like to be able to call a function on a custom component > when > adding a child to a View State. > > There is a setProperty tag. Any way of call a function on that > component from within the AddChild tag of a View State??? > > Thanks, > Paul >