Mxml
1 <?XML version= "1.0" encoding= "Utf-8"?>2 3 <!--function Description: Support element Drag-and-drop sorting -4 5 <s:applicationXmlns:fx= "http://ns.adobe.com/mxml/2009" 6 xmlns:s= "Library://ns.adobe.com/flex/spark" 7 xmlns:mx= "Library://ns.adobe.com/flex/mx"MinWidth= "955"MinHeight= "All">8 <fx:declarations>9 <!--Place non-visual elements (such as services, value objects) here -Ten <Fx:xmlID= "Data"xmlns=""> One <Data> A <Itemlabel= "Stephen Chow Chi"> - <Itemlabel= "1988"> - <Itemlabel= "Thunderbolt Pioneer" Hong Kong box office 8916612 " /> the <Itemlabel= "Catch the Wind Man" Hong Kong box office 3149395 " /> - <Itemlabel= "best son-in-law" Hong Kong box office 5807710 /> - </Item> - <Itemlabel= "1989"> + <Itemlabel= "Dragon in Tianya" Hong Kong box office 6809853 /> - <Itemlabel= "The 7913329 of the Brave" Hong Kong box office /> + <Itemlabel= "Rogue Poor woman" Hong Kong box office 5624622 " /> A <Itemlabel= "The Wind and rain is the same" Hong Kong box office 9335299 /> at </Item> - <Itemlabel= "1990"> - <Itemlabel= "Steve Chan" Hong Kong box office 13703364 " /> - <Itemlabel= "Curry pepper" Hong Kong box office 15777856 " /> - <Itemlabel= "The Thief Star" Hong Kong box office 7968106 " /> - <Itemlabel= "Brother hit ghost" Hong Kong box office 12128944 /> in <Itemlabel= "Gambling holy" Hong Kong box office 41326156 " /> - <Itemlabel= "The Invincible Lucky Star" Hong Kong box office 18799869 " /> to <Itemlabel= "The last big guy in the lake", Hong Kong box office 5495811 /> + </Item> - </Item> the <Itemlabel= "Jet Li"> * <Itemlabel= "1992"> $ <Itemlabel= "The Oriental Invincible (1992) of the Lake of laughter" />Panax Notoginseng <Itemlabel= "Huang Fei Hong's two men as self-Improvement (1992)" /> - <Itemlabel= "Wong Fei Hong's Three Lions King (1992)" /> the </Item> + <Itemlabel= "1993"> A <Itemlabel= "Fangshiyu Ⅱ (1993)" /> the <Itemlabel= "The Demon-1993 of the Dragon Slayer" /> + <Itemlabel= "Yellow Fei Hong's Iron Chicken Bucket Centipede (1993)" /> - <Itemlabel= "Taiji Zhang Sanfeng (1993)" /> $ </Item> $ <Itemlabel= "1994"> - <Itemlabel= "New Shaolin Five Zu (1994)" /> - <Itemlabel= "Hero (1994)" /> the <Itemlabel= "Zhongnanhai Bodyguard (1994)" /> - <Itemlabel= "Letter to Papa" (1995) />Wuyi </Item> the <Itemlabel= "1995"> - <Itemlabel= "cholinergic Dragon (1995)" /> Wu <Itemlabel= "Letter to Papa" (1995) /> - </Item> About </Item> $ </Data> - </Fx:xml> - </fx:declarations> - <Mx:treeID= "Tree" A Dataprovider= "{Data}" + LabelField= "@label" the Showroot= "false" - Verticalscrollpolicy= "On" $ alternatingitemcolors= "[#FFFFFF, #EEEEEE]" the showscrolltips= "true" the dragenabled= "true" the dropenabled= "true" the dragmoveenabled= "true" - width= "+" in RowCount= "6" /> the </s:application>
[Flex] Component Tree Series--drag-and-drop sequencing of supported elements