AmigaAbattoir / monsterdebugger

Automatically exported from code.google.com/p/monsterdebugger
0 stars 0 forks source link

How to compile #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please provide detailed step by step guide on compiling MonsterDebugger Air 
application. I'm failed to compile with flex sdk with message "error while 
loading initial content"

Original issue reported on code.google.com by georgy.g...@gmail.com on 18 Feb 2015 at 11:26

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm succefully compiled project.
Steps:
1. Add your flex/air sdk bin directory to the system %PATH% variable
2. Open command prompt at app src folder
3. Look at your app config Main.xml in parent folder
3.1 Determine air version to use
----cut----
<application xmlns="http://ns.adobe.com/air/application/3.0">
----cut----
3.2 Determined AIR 3.0 version
4. Lookup target swf version in the table bellow
----cut----
 -swf-version  | Flash Player |  AIR
=======================================
       9       |      9      |  2.0 ?
      10       |   10, 10.1  |  2.5 ?
      11       |     10.2    |  2.6
      12       |     10.3    |  2.7
      13       |     11.0    |  3.0
      14       |     11.1    |  3.1
      15       |     11.2    |  3.2
      16       |     11.3    |  3.3
      17       |     11.4    |  3.4
      18       |     11.5    |  3.5
      19       |     11.6    |  3.6
      20       |     11.7    |  3.7
      21       |     11.8    |  3.8
      22       |     11.9    |  3.9
      23       |     12.0    |  4.0
      24       |     13.0    |  13.0
      25       |     14.0    |  14.0
      26       |     15.0    |  15.0
----cut----
4.1 Determined -swf-version 13
5. Compile project with following command line
----cut----
amxmlc -swf-version 13 Main.mxml
----cut----
6. Copy resulting Main.swf to parent folder
7. Command prompt cd to parent folder cd ..
8. Run Application with following command
----cut----
adl Main.xml
----cut----

Original comment by georgy.g...@gmail.com on 19 Feb 2015 at 10:12