I am trying to create a xmllist variable in action script like this:
var _menuData:XMLList;
<menuitem label="File">
<menuitem label="Backup Schedule"/>
<menuitem label="Restore Schedule"/>
</menuitem>
<menuitem label="Edit">
<menuitem label="Cut"/>
<menuitem label="Copy"/>
</menuitem>
How do I assign this xml to _menuDAta in actionScript?
I dont want to create a string first and then do it all by fixing line break errors.
Thanks.
I can’t see your code here but here is a sample code for creating an XMLList:
Hope it helps,
Rob