'drag drop'에 해당되는 글 1건

  1. 2010/04/20 visualp as3,0 actionscript 3.0 Mouse Drang and Drop

[원문] : http://www.isgoodstuff.com/2008/06/10/actionscript-30-buttons-and-drag-drop/
 
actionscript 3.0에서 ....

MovieClipName.addEventListener(MouseEvent.MOUSE_DOWN,DragStart);
MovieClipName.addEventListener(MouseEvent.MOUSE_UP,DragStop);
function DragStart(event:Event){
	trace("Drag Started!");
	event.target.startDrag(false);
}
 
function DragStop(event:Event){
	trace("Drag Stoped!");
	event.target.stopDrag();
}
2010/04/20 15:44 2010/04/20 15:44
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://blog.visualp.com/rss/response/247

댓글+트랙백 ATOM :: http://blog.visualp.com/atom/response/247