-
Notifications
You must be signed in to change notification settings - Fork 7
Home
cliffhall edited this page Sep 23, 2012
·
10 revisions
PureMVC ActionScript 3 Utility: Desktop Citizen (AIR)
This utility provides the ability for PureMVC-based AIR applications remember their window size, position, and maximized state each time it is launched. It also provides a facility for requiring confirmation (or executing some shutdown process) before the application window closes.
Standard and MultiCore versions are included.
Production - Version 1.3
- Added support for WindowedApplication (previously only Application was supported).
- Added ENABLE_CONFIRM/CONFIRM_CLOSING notes that give you a hook into the process of closing a window. Major thanks to Ondina for the work she did on this.
- Refactored the note naming scheme. Don't worry, it's backward compatible as long as you were using the DesktopCitizenConstants before, I just changed how the note names are composed and added the two new ones.
- Moved constructor actions to onRegister.
- Added !MultiCore support.
- No Standard version functionality changes except renaming source tree, therefore, there is no need to migrate Standard version apps to 1.2 unless you're also migrating to MultiCore.
- Moved source code into src folder. No functionality changed.
- Manages an XML Database with the information about the main application window's position, size and state (WindowMetrics)
- Reads the Window Metrics at startup, applies to the main window then sends a notification that the window is ready to be shown.
- Allows the window to be sized and positioned BEFORE being shown so that it doesn't flash up at a default size, then resize, causing visual repaint.