# Drag

**URL:** <https://forum.kirupa.com/t/drag/312347>\
**Category:** Uncategorized\
**Created:** [July 31, 2010, 7:10pm UTC](https://forum.kirupa.com/t/drag/312347 "2010-07-31T19:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiitttaaa](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iiitttaaa](https://forum.kirupa.com/u/iiitttaaa)\
**Post date:** [July 31, 2010, 7:10pm UTC](https://forum.kirupa.com/t/drag/312347/1 "2010-07-31T19:10:00Z")

</div>

i am making an air aplication and i made transparent background and i alredy made the close button but i cant make the app be dragable

```auto
var myLoader:Loader = new Loader(); 
addChild(myLoader);
myLoader.x = 0;
myLoader.y = 0;
var url:URLRequest = new URLRequest("load.swf"); 
myLoader.load(url); 
var appWindow:NativeWindow = this.stage.nativeWindow;
btn_close.addEventListener(MouseEvent.CLICK, btClose_CLICK);  
function btClose_CLICK(evt:MouseEvent):void {
    appWindow.close(); 
}
appWindow.startMove();
stage.nativeWindow.startMove();

```

but it dont works startMove(); what did i did wrong pleas help i need this finished by today or tomorrow
