[flexcoders] how to refer to Flex components in ActionScript?

2007-11-02 Thread Brian
There is a section of the Flex 2 Developer's Guide (- Using Flex Programming Language - Using ActionScript - Working with Flex components - Referring to Flex components ) that talks about referring to flex components via the id of that component. The example given uses inline script, but it states

Re: [flexcoders] how to refer to Flex components in ActionScript?

2007-11-02 Thread Scott Melby
Brian - If you have your components nested within other components (like a VBox, HBox, etc.) then I believe you would have to get to them through their parent. For example: myview.mxml mx:Panel id=myTopPanel mx:TextField id=myTextField ... myview.as { ... var