<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="450" height="350" creationComplete="initApp()" backgroundColor="#FFFFFF" fontSize="12">
<mx:Script>
<![CDATA[
private function initApp():void{
words.dataProvider=['Water','水','Car','汽车','House','房屋','Book','书籍','Music','音乐','Sandwich','三明治'];
english.dataProvider=[];
chinese.dataProvider=[];
}
]]>
</mx:Script>
<mx:Panel x="0" y="0" width="450" height="350" layout="absolute" title="Sort Words By Language">
<mx:Label x="7" y="3" text="Drag to Correct Language"/>
<mx:List x="7" y="25" id="words" width="200" height="275" allowMultipleSelection="true" dragEnabled="true"></mx:List>
<mx:Label x="223" y="6" text="English"/>
<mx:List x="223" y="25" id="english" width="200" height="120" dropEnabled="true"></mx:List>
<mx:Label x="223" y="150" text="中文"/>
<mx:List x="223" y="177" id="chinese" width="200" height="120" dropEnabled="true"></mx:List>
</mx:Panel>
</mx:Application>
12-24
08-20
04-25
04-25
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交