Flex4中panel拖拽
常用java编程语言
<!-- mxml -->
<s:Panel id="m_panel" width="450" height="450" borderVisible="false" mouseDown="move_panel();" mouseUp="stop_panel();">
</s:Panel>
<!-- as -->
public function move_panel():void{
m_panel.startDrag();
}
public function stop_panel():void{
m_panel.stopDrag();
}
下载地址:http://www.huiyi8.com/sc/28445.html(转载请注明此处)