Code
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()" width="605" height="376">
<mx:Script>
<![CDATA[
private function init():void{
lst1.dataProvider = ['a','b','c','d'];
lst2.dataProvider = ['e','f','g','h'];
}
]]>
</mx:Script>
<mx:List id="lst1" x="30" y="36" width="245" height="259" dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"></mx:List>
<mx:List id="lst2" x="301" y="36" width="245" height="259" dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"></mx:List>
</mx:WindowedApplication>
|