How to open a new window in Adobe AIR?

By | April 7, 2011

Hi all ….

In this example I will show you how to open a new window from an adobe AIR Application.

First you create a new Flex Project and named FirstWindow.
Now you have FirstWindow.mxml in your project. Go on open it and copy the following code to it.



	
		
	


Now right click on the src folder and create an MXML component. select Window from the Dropdown and name it SecondWindow.
Now you have SecondWindow.mxml.

Take a look at the screenshot

Flex open window example

Flex open window example

Flex open window example

Flex open window example

Now copy this code to it.



	
		
	

It’s all done. Now run it.

Flex open window example

Flex open window example

Leave a Reply

Your email address will not be published. Required fields are marked *