The following example shows how you can detect when an Adobe AIR WindowedApplication container is moved by listening for the windowMove event.

Full code after the jump.





    
        

    

    
        
            
            
            
        
    


You can also add an event listener for the moving event using ActionScript and the static NativeWindowBoundsEvent.MOVING constant, as seen in the following example:





    
        

    

    
        
            
            
            
        
    


Leave a Reply

Your email address will not be published.