|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by WebDvlp in Adobe Flex
I have the following XML:
<mx:XMLList id="menu">
<menuitem label="Icon and function" icon="{warningIcon}" function={myFunction}/>
</mx:XMLList>
I know I can access the label text by using menu.attribute('label'). But how can I access the icon and function pointers? <mx:Image source={menu.attribute(ico
n)}"/> does not seem to work... and <mx:Button click="menu.attribute(func
tion)"/> is not working either...
20091021-EE-VQP-81 / EE_QW_2_20070628