Put SWF assets in first frame for AIR, add custom HXML template for AIR
This commit is contained in:
7
templates/air/hxml/debug.hxml
Normal file
7
templates/air/hxml/debug.hxml
Normal file
@@ -0,0 +1,7 @@
|
||||
-main ApplicationMain ::HAXE_FLAGS::
|
||||
-swf-version ::SWF_VERSION::
|
||||
-swf ::OUTPUT_DIR::/bin/::APP_FILE::.swf
|
||||
-swf-header ::if (WIN_WIDTH == "0")::800::else::::WIN_WIDTH::::end:::::if (WIN_HEIGHT == "0")::500::else::::WIN_HEIGHT::::end:::::WIN_FPS:::::WIN_FLASHBACKGROUND::
|
||||
-cp ::OUTPUT_DIR::/haxe
|
||||
-debug
|
||||
-D air
|
||||
7
templates/air/hxml/final.hxml
Normal file
7
templates/air/hxml/final.hxml
Normal file
@@ -0,0 +1,7 @@
|
||||
-main ApplicationMain ::HAXE_FLAGS::
|
||||
-swf-version ::SWF_VERSION::
|
||||
-swf ::OUTPUT_DIR::/bin/::APP_FILE::.swf
|
||||
-swf-header ::if (WIN_WIDTH == "0")::800::else::::WIN_WIDTH::::end:::::if (WIN_HEIGHT == "0")::500::else::::WIN_HEIGHT::::end:::::WIN_FPS:::::WIN_FLASHBACKGROUND::
|
||||
-cp ::OUTPUT_DIR::/haxe
|
||||
-D final
|
||||
-D air
|
||||
6
templates/air/hxml/release.hxml
Normal file
6
templates/air/hxml/release.hxml
Normal file
@@ -0,0 +1,6 @@
|
||||
-main ApplicationMain ::HAXE_FLAGS::
|
||||
-swf-version ::SWF_VERSION::
|
||||
-swf ::OUTPUT_DIR::/bin/::APP_FILE::.swf
|
||||
-swf-header ::if (WIN_WIDTH == "0")::800::else::::WIN_WIDTH::::end:::::if (WIN_HEIGHT == "0")::500::else::::WIN_HEIGHT::::end:::::WIN_FPS:::::WIN_FLASHBACKGROUND::
|
||||
-cp ::OUTPUT_DIR::/haxe
|
||||
-D air
|
||||
Reference in New Issue
Block a user