Strange NativeApplication Error

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