RE: [flexcoders] how to call a method in a custom mxml component

2006-08-31 Thread Tracy Spratt
If you give your component an id when you instantiate it, you can use that id as a reference into the components public members: In mxmk: MyComponent id=mycomp / In AS: mycomp.init(); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] how to call a method in a custom mxml component

2006-08-30 Thread keithtucci
how do i go about calling a method in a custom mxml component from the main applciation... currently in my mxml component, 'creationcomplete' calls my init method, but it only fires one time, when the applciation loads, but i need to fire that init method at other times, after the application