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
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
2 matches
Mail list logo