header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Eddy
Points:0
Posts:0

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



1
Davis
Points: 780
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

2
Friend
Points: 710
Posts:0
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/


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions