http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/ViewStack.html#selectedChild


On 7/24/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
How to get a generic save function which is saving the component
that is opened?

main.mxml
function save():Void{
    save component that is opened???
}


--- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]> wrote:
> 1.create a save() function inside each component
> 2. create a save() function in the application that calls save()
on each of
> the components.
>
> On 7/24/05, Ghislain Simard <[EMAIL PROTECTED]> wrote:
> >
> > What could it be done if I have different components inside the
main
> > app whew I want to save that data?
> >
> > <mx:Application>
> > ....
> > .......
> > <mx:Panel>
> > <mx:ViewStack id="vsl">
> > <comp:myCompFrm>
> > <comp:myCompFrm2>
> > </mx:ViewStack>
> > <mx:Panel>
> > ....<mx:Button click="???">// Save the content in the component
> > that is in use
> >
> >
> > --- In flexcoders@yahoogroups.com, Clint Modien <[EMAIL PROTECTED]>
wrote:
> > > 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 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 < http://40yahoogroups.com>
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >




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






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




Reply via email to