I am fairly new to Flex and wondering how to get one component to call a function within another component. How do I reference the function in component #1 from #2?
**************component #1***************** <mx:Form xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*"> private function delete():Void{ Alert.Show("you have been deleted"); } <mx:Vbox> <component2 id="c2"> </mx:Vbox> </mx:Form> **************component #2***************** <?xml version="1.0" encoding="utf-8"?> <mx:HBox height="25" xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:TextInput id="txtRCAParticipants1" width="150" text="" /> <mx:Button label="Delete" click="delete();" /> </mx:HBox> -- 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/

