- File new Flex project, select the Desktop application
- Click next to the set output folder, change that if you want
- In the Source Path tab change the file extension for the Main application file from MXML to AS, click finish
This will create a new project containing a ActionScript file that extends Sprite, now you can create a ActionScript only AIR project.
While I was doing this the first time I ran the project in Debug mode, and I received this error message:
Process terminated without establishing connection to debugger.
Command:
C:\FlexLibraries\FlexSDKs\flex_sdk_3.5.0.12683\bin\adl.exe C:\TFSWorkspace\TestProjects\Flash\iPhoneDevelopment\iPhoneAIRApp_demo1\bin-debug\iPhoneAIRApp_demo1-app.xml C:\TFSWorkspace\TestProjects\Flash\iPhoneDevelopment\iPhoneAIRApp_demo1\bin-debug
Output from command:
invocation forwarded to primary instance
What this is trying to tell you is that you have two instances of ADL.exe running, to solve this problem I went into Task Manager and ended the two ADL process which were running.
No comments:
Post a Comment