[flexcoders] how to save a component from the main apps

2005-07-24 Thread Ghislain Simard
I have a main apps which is calling a component.
In the main app,I have a button to save the form inside the 
component.  How do I tell the the main app that I want to save the 
info inside the component?

mx:Application

...
mx:Panel
   comp:myCompFrm
mx:Panel
mx:Button click=???// Save the content in myCompFrm
 




--
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 save a component from the main apps

2005-07-24 Thread Clint Modien



1. inside your myCompFrm write a save function: public function save(){.. saves the form...}
2. give your comp:myCompFrm an id property  comp:myCompFrm id=myForm
3.call the func on the control from the button click mx:Button click={myForm.save()} /On 7/24/05, Ghislain Simard 
[EMAIL PROTECTED] wrote:I have a main apps which is calling a component.
In the main app,I have a button to save the form inside thecomponent.How do I tell the the main app that I want to save theinfo inside the component?mx:Application...mx:Panel
 comp:myCompFrmmx:Panelmx:Button click=???// Save the content in myCompFrm--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/







--
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
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  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.