the thinBlog

Friday, October 05, 2007

AIR Beta 1 to AIR Beta 2: Package changes

Now that AIR Beta 2 is out there are some modifications to packages.
flash.desktop.TransferableData and flash.desktop.TransferableFormats;

Are no longer in the flash.desktop package. You have to use:
import flash.desktop.ClipboardFormats

So if you are calling:
TransferableFormats.FILE_LIST_FORMAT

you now call:
ClipboardFormats.FILE_LIST_FORMAT

Also I noticed you can't just call:
stage.window.close();

To close a window. You now have that placed in the NativeWindow object:
var window:NativeWindow = stage.nativeWindow;
window.close();
posted by Romke de Haan at 3:16 PM

0 Comments:

Post a Comment

<< Home