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=???//
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]
2 matches
Mail list logo