[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 has 
already loaded...

any help will be greatly appreciated...

thanks





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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 component’s
public members:

 

In mxmk:



 

In AS:

mycomp.init();

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of keithtucci
Sent: Wednesday, August 30, 2006
12:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to call
a method in a custom mxml component



 







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 has 
already loaded...

any help will be greatly appreciated...

thanks






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___