# AIR troubles me again

**URL:** https://forum.kirupa.com/t/air-troubles-me-again/230479
**Category:** flash
**Created:** [June 26, 2007, 3:59pm UTC](https://forum.kirupa.com/t/air-troubles-me-again/230479 "2007-06-26T15:59:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![awflasher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/awflasher/32/3562_2.png) [@awflasher](https://forum.kirupa.com/u/awflasher)
#### Post date: [June 26, 2007, 3:59pm UTC](https://forum.kirupa.com/t/air-troubles-me-again/230479/1 "2007-06-26T15:59:26Z")

</div>

As senocular had told me yesterday, that AIR is just a runtime and .air file is just a package-up of a group of assets.  
so i made a swf and assign it as the root of the air application and then package it directly from Flex Builder 3 without mxml-compiling.  
But with only one single swf, I cannot handle the stage.window.startMove and close etc.  
I write in Flash CS3 this code:

ab\_mc.addEventListener(flash.events.MouseEvent.MOUSE\_DOWN, go);  
function go()  
{  
stage.window.startMove();  
}

but the Flash CS3 just tell me that there is not a “window” property.

So… If I want to develop some cute, transparent AIR projects, I have to make the swf compiled from MXML but not just Flash CS3 IDE ?

Anyone can give me a more detail instructions?
