{
event.currentTarget.stopDrag();
}
]]>
</ fx:Script >
< s:Panel id ="pan1" x ="69" y ="68" width ="250" height ="187"
rotationZ ="10"
mouseDown ="startDragging(event)" mouseUp ="stopDragging(event)" >
</ s:Panel >
< s:Panel id ="pan2" x ="574" y ="225" width ="250" height ="187"
rotationZ ="40"
mouseDown ="startDragging(event)" mouseUp ="stopDragging(event)" >
</ s:Panel >
</ s:Application >
This article comes from " WISPER technology to make the art of " blog, be sure to keep this source http://lichen.blog.51cto.com/697816/193668
Reproduced in: https: //my.oschina.net/lichen/blog/264864