AntOnAIR: specifies swf-version 23 when building SWC and test SWF to match the 
4.0 AIR descriptor in the tests. When using an SDK newer than 4.0, AIR would 
quit with 'error while loading initial content' when running the tests because 
the newer SDK would build with a higher swf-version than 23 by default, so it 
wouldn't be compatible with the 4.0 AIR descriptor.


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/1e870fd6
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/1e870fd6
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/1e870fd6

Branch: refs/heads/as3httpclient-work
Commit: 1e870fd61ad5015782798f30fc72f264a72e2845
Parents: 1a46b11
Author: Josh Tynjala <joshtynj...@gmail.com>
Authored: Fri Apr 24 11:59:57 2015 -0700
Committer: Josh Tynjala <joshtynj...@gmail.com>
Committed: Fri Apr 24 11:59:57 2015 -0700

----------------------------------------------------------------------
 ant_on_air/build.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/1e870fd6/ant_on_air/build.xml
----------------------------------------------------------------------
diff --git a/ant_on_air/build.xml b/ant_on_air/build.xml
index f83fbba..2048eff 100644
--- a/ant_on_air/build.xml
+++ b/ant_on_air/build.xml
@@ -128,6 +128,7 @@
         description="Compiles the SWC.">
         <compc 
             output="${LIBRARY_DIR}/${LIBRARY_NAME}.swc"
+                       swf-version="23"
             debug="${DEBUG_FLAG}"
             failonerror="true"
             fork="true"
@@ -158,6 +159,7 @@
                <mxmlc file="${basedir}/tests/AntOnAir.mxml"
                        output="${basedir}/tests/AntOnAir.swf"
                        debug="${DEBUG_FLAG}"
+                       swf-version="23"
                        failonerror="true"
             fork="true"
             maxmemory="512m">

Reply via email to