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