I have fixed this, thanks. It's because this:
<mxmlc file="${SOURCE_DIR}/${APP_NAME}.${APP_EXTENSION}"
output="${OUTPUT_DIR}/${APP_NAME}.swf"
static-rsls="true" It's the problem
accessible="true"
configname="air"
debug="${DEBUG_FLAG}"
failonerror="true"
fork="true"
maxmemory="512m">
Hi, nice guys
Thanks for your time to watch my proble!
I'm develop IOS App by AIR 3.7. I have seen this about load swf http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-m ultiple-swfs-in-air-apps-on-ios/ . Everything works fine in debug mode, but when I release it , everything is gone.
I'm using AIR 3.7 in GPU renderer mode, and load SWF with some code. I have add LoaderContext.
var l:LoaderContext=new LoaderContext(false, ApplicationDomain.currentDomain);
l.allowCodeImport=true;
When I debug in Fast mode, everything is ok, in Standard mode package get the Errors:
Error occurred while packaging the application:
java.lang.NegativeArraySizeException
at com.adobe.air.ipa.SWFUtils.read(SWFUtils.java:205)
at com.adobe.air.ipa.SWFUtils.inspect(SWFUtils.java:250)
at com.adobe.air.ipa.SWFUtils.<init>(SWFUtils.java:181)
at com.adobe.air.ipa.SWFSplitter.main(SWFSplitter.java:68)
Exception in thread "main" com.adobe.air.InvalidInputException: Invalid input. Not a valid swf file
at com.adobe.air.ipa.SWFSplitter.main(SWFSplitter.java:105)
Compilation failed while executing : ADT
When I use a empty project to load a test swf, get the Error:
MainThread (Suspended: Error: Error #3747:Multipleapplicationdomainsarenotsupportedonthisoperatingsystem.)
Anybody know how to fix this ?
Thanks!