Calendar

February 2008
S M T W T F S
« Jan   Mar »
 12
3456789
10111213141516
17181920212223
242526272829  

Tag Cloud

Categories

Archives

Recent Posts

Recent Comments


« New AIR Tutorials | Main | Check you AS3 code »

EverythingFlexAIR1.swc introduces SuperWindow

By Rich Tretola | February 26, 2008
1,722 views

The EverythingFlexAIR1.swc library was introduced with AIR beta 3 and has now been updated for AIR 1. This update also includes the new SuperWindow component. What is SuperWindow?

sw21.jpg

sw31.jpg

“The AIR SuperWindow component was created to serve as a manager for all of the window specific AIR functionality that varies depending on the operating system of the user. It will handle the implementation and management of native menus, context menus, icon menus, dock and system icons, and alerts.”

If you are at Flex360 Atlanta, please check out my session on Tuesday at 4:30pm in the Birch Room where I will be talking about SuperWindow as well as the rest of EverythingFlexAIR1.swc.

Topics: 360Flex, Adobe AIR | 6 Comments »

6 Responses to “EverythingFlexAIR1.swc introduces SuperWindow”

  1. Mike Strother Says:
    April 9th, 2008 at 11:41 am

    Rich,

    I tried downloading everythingflexair1swc, however when I click on the link, a ZIP file is downloaded to my computer, and that file contains many things but no SWC files. I’d love to try out this library!

    Thanks,

    Mike

    Reply to this comment

  2. Mike Strother Says:
    April 9th, 2008 at 12:14 pm

    Looks like Internet Explorer is doing something goofy. The link works in Firefox.

    Reply to this comment

  3. David Says:
    May 7th, 2009 at 8:02 am

    Hey Rich,

    Great Lib. Will it be updated to AIR 1.5?

    I noticed a possible bug when I create a MXML instance of a SuperWindow (in windows) the icon in the taskbar is the Apollo icon (white ship on a blue background) until I minimize and then maximize the new window, then the embed image that I specifed using:

    this.sysDockIconBitmaps = [bitmap16.bitmapData,
    bitmap32.bitmapData,
    bitmap48.bitmapData,
    bitmap128.bitmapData];

    displays correctly.

    Any ideas?

    Thanks again.

    Reply to this comment

    Rich Tretola Reply:

    Sounds like a timing issue as the old Apollo icon is the default icon. I’ll take a look. I would like to get this updated to AIR 1.5 as well.

    Reply to this comment

  4. David Says:
    May 7th, 2009 at 9:41 am

    Thanks Rich,

    I really admire all the great work you are doing.

    I was also getting this error from time to time when clsing the application or trying to open a new SuperWindow (sorry about the formatting):

    Error: Error #3200: Cannot perform operation on closed window.
    at Error$/throwError()
    at flash.display::NativeWindow/get systemChrome()
    at flash.display::NativeWindow/set menu()
    at com.everythingflex.air.components::SuperWindow/handleMenus()[/Users/rich/Documents/workingflexair/everythingflexairlib/src/com/everythingflex/air/components/SuperWindow.as:141]
    at com.everythingflex.air.components::SuperWindow/nowActive()[/Users/rich/Documents/workingflexair/everythingflexairlib/src/com/everythingflex/air/components/SuperWindow.as:166]

    Maybe a change in 1.1 to 1.5… or maybe its just me!

    Thanks again

    David

    Reply to this comment

  5. Ankur Arora Says:
    March 8th, 2010 at 3:03 pm

    Hi Rich,
    I tried using SuperWindow in my application but somehow I’m not able to see icons when publishing a Adobe AIR file. Do you have some working example in Flex which help us to understand the code?

    My basic purpose of using SuperWindow is to launch different windows on the fly and as well as assign title bar icons to those windows.

    Please provide if you have one that would be a certainly great help.

    Thanks
    Ankur

    Reply to this comment

Comments