# Strange NativeApplication Error

**URL:** <https://forum.kirupa.com/t/strange-nativeapplication-error/268876>\
**Category:** flash\
**Created:** [August 19, 2008, 10:12pm UTC](https://forum.kirupa.com/t/strange-nativeapplication-error/268876 "2008-08-19T22:12:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Entropy](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mr\_Entropy](https://forum.kirupa.com/u/Mr_Entropy)\
**Post date:** [August 19, 2008, 10:12pm UTC](https://forum.kirupa.com/t/strange-nativeapplication-error/268876/1 "2008-08-19T22:12:04Z")

</div>

Hi all,

This is probably a very simple question, but so far I’m stumped.

I would like to create an AIR application that can be dragged on the desktop. From what I’ve read on this forum and others, it’s incredibly simple:

stage.nativeWindow.startMove();

However, when I try to add the few required lines of ActionScript, or even import the class I receive an error:

import flash.desktop.NativeApplication;

results in:

1172: Definition flash.desktop:NativeApplication could not be found.

Does anyone know what I might be missing?

Best regards,  
Carl
