7/6/2010 12:35:45 AM
Title:
Open a new Application
Is it possible to open a new WindowedApplication from another Window or Windowed application in Adobe AIR
new myWindowedApplication().open();
myWindowedApplication is another myWindowedApplication
But its creating an error.
Please Help
Davis
Points: 740
Posts:0
7/6/2010 2:03:20 AM
to create an adobe air window in flex application using actionscript 3 see this code
//first create an mxml file with name MyWindow.mxml with following code
<?xml version="1.0" encoding="utf-8"?>
<mx:Window xmlns:mx="http://www.adobe.com/2006/mxml" transparent="false" systemChrome="standard" backgroundColor="#FFFFFF" width="400" height="400" layout="vertical">
</mx:Window>
// Now use the following code to open window from any other window
private var myWin:MyWindow;
private function openWindow(): {
// MyWindow is your mywindow.mxml
myWin = new MyWindow();
myWin.title = "New Window opened from Adobe AIR application";
myWin.open();
}
//the opened window will be empty, as I have not included any component in it
7/6/2010 2:39:28 AM
Eddy look at this link , to open another application form flex application
http://blog.everythingflex.com/2009/06/08/open-an-air-application-from-a-2nd-air-application/