flex - Why <mx:XML> and <mx:XMLList> tags are obsoleted in Flex4? -


i trying implement menu bar control in flex application follow:

<mx:panel xmlns:mx="http://www.adobe.com/2006/mxml" >     <mx:menubar id="mymenubar2" labelfield="@label">         <mx:xmllist>             <menuitem label="menuitem a">                 <menuitem label="submenuitem a-1" enabled="false"/>                 <menuitem label="submenuitem a-2"/>             </menuitem>             <menuitem label="menuitem b"/>             <menuitem label="menuitem c"/>             <menuitem label="menuitem d">                 <menuitem label="submenuitem d-1"                            type="radio" groupname="one"/>                 <menuitem label="submenuitem d-2"                            type="radio" groupname="one"                           selected="true"/>                 <menuitem label="submenuitem d-3"                            type="radio" groupname="one"/>             </menuitem>         </mx:xmllist>     </mx:menubar> </mx:panel> 

but work old library.

in flex 4 use following namespaces:

xmlns:fx="http://ns.adobe.com/mxml/2009"  xmlns:s="library://ns.adobe.com/flex/spark"  xmlns:mx="library://ns.adobe.com/flex/mx" 

but <mx:xml> , <mx:xmllist> tags not there. included in actionscript 3.0.

why need separation? reason behind this?

the namespace changed, xml , xmllist in fx namespace


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -