GhostWire Window This Flash component allows you to create windows similar to those in Windows OS.
Example
The following is an example of the Window component (filesize 15KB)
Features Complete Window Assets
The windows have built-in titlebars, caption buttons (minimize, maximize, restore, close), and statusbars. You can configure each instance to display all or a combination of these assets via the properties panel. You can even set an icon for the titlebar and statusbar (see the CollapsibleMenu window for an example of titlebar icon).
Resizable
If set to be resizable, the window can be resized by the application user in a click-hold-drag manner, just like in the Windows OS environment. The user can resize windows by click-hold-drag the anchor movieclip (at the bottom-right) or the sides of the window.
Load Progress
The content to be embedded in the window can be set via the component's properties panel or set dynamically using the methods loadContent() or setContent(). If using loadContent, you will be loading an external file. The load progress will be reflected in the statusbar of the window. The setContent method allows you to embed content using an exported movieclip in your library. Either way, you can reference the embedded content using the method getContent().
Snap to Pixel
The component snaps to pixel when published, ensuring that it looks crisp and sharp when the movie plays. Usually to achieve this, you need to ensure that you place your movieclips at integer coordinates (no decimal place) during authoring time. This is not necessary with GhostWire components, which will automatically snap to pixel when published. For example, if the component was placed at x coordinate 20.2, when published it will be placed at x coordinate 20.0 instead. In addition, the component also resizes itself to integer widths and heights.
Truly Skinnable
Based on the GhostWire Component Architecture, the Window component is truly skinnable. We have included two different skins in this package to demonstrate this feature.
Note
For the best effects, we recommend that you set your application to a non-scaling mode by entering the following actionscript in the first frame of your application: Stage.scaleMode = "noScale";
Stage.align = "TL";