In a previous example, “Opening a new Window in Adobe AIR”, we saw how you could launch a new Flex Window container in Adobe AIR by creating a custom Window component and calling the open() method.

The following example shows how you can control whether the newly opened window receives focus and becomes active by setting the Boolean openWindowActive attribute to the open() method.




    
    
        
    
    
        
    
    
    
    

And the custom Window component, MyWin.mxml, is as follows:




    
    
    

Tagged with:
 

One Response to Specifying whether a new Window is focused in Adobe AIR

  1. gourav says:

    hii

    thanks its good example and very eagy

Leave a Reply