Hey, I just thought it would be really cool if I could use mxml selectors,
e.g.
<s:VGroup id="rootGroup">
<s:HGroup verticalAlign="middle">
<s:Label text="Width:"/>
<s:TextInput width="50" />
<s:Label text="Height:"/>
<s:TextInput width="50" />
<s:Button label="Update" click="updateBtn_clickHandler(event)" />
</s:HGroup>
<s:Button label="Save as..."/>
</s:VGroup>
and then do something like rootGroup.find(".Hgroup > .Label") which returns
/all/ instances of type Label, or rootGroup.find(".Button['label'=Update]")
like attribute selector, etc.
You get the idea!
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/MXML-Selectors-tp45684.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.