AIR Beta 1 to AIR Beta 2: Package changes
Now that AIR Beta 2 is out there are some modifications to packages.
Are no longer in the flash.desktop package. You have to use:
So if you are calling:
you now call:
Also I noticed you can't just call:
To close a window. You now have that placed in the NativeWindow object:
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();

0 Comments:
Post a Comment
<< Home