Compiling for MX only
hi,
i'm trying compile existing flex 3 project (using mx components/halo theme) flex 4 sdk (we've got working in flash builder, nant - unfortunately not ant! - based automated build script)
i'm finding when compiling css styles swf, i'm unable prevent spark , sparkskins rsls being included in compiled package. in flash builder, seems easy ticking "mx only" radio button in compiler, in mxmlc doesn't seem easy.
i'm using command line:
mxmlc.exe src\appstyle.css -load-config+=compilerconfig.xml -theme=themes/halo/halo.swc -o bin/appstyle.swf
but regardless of add library-path , external-libraries sections of compilerconfig.xml file, generated .as file mx.core.flexmodulefactory contains following:
override public function info():object
{
return {
cdrsls: [{"rsls":["http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textlayout_1.1.0.604.swz","textlayout_1.1.0.604.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["381814f6f5270ffbb27e244d6138bc023af911d585b0476fe4bd7961bdde72b6","381814f6f5270ffbb27e244d6138bc023af911d585b0476fe4bd7961bdde72b6"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
},
{"rsls":["http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_flex.4.0.0.13495.swz","osmf_flex.4.0.0.13495.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["c3306b26751d6a80eb1fcb651912469ae18819aba42869379acb17e49ec1f9f0","c3306b26751d6a80eb1fcb651912469ae18819aba42869379acb17e49ec1f9f0"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
},
{"rsls":["http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/framework_4.1.0.16076.swz","framework_4.1.0.16076.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["871f12af0853c06e4eb80a1ccab295ceadbb817ad3332c20b5d986d3db5bfe6d","871f12af0853c06e4eb80a1ccab295ceadbb817ad3332c20b5d986d3db5bfe6d"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
},
{"rsls":["http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/spark_4.1.0.16076.swz","spark_4.1.0.16076.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["6344dcc80a9a6a3676dcea0c92c8c45efd2f3220b095897b0918285bbaef761d","6344dcc80a9a6a3676dcea0c92c8c45efd2f3220b095897b0918285bbaef761d"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
},
{"rsls":["http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/sparkskins_4.1.0.16076.swz","sparkskins_4.1.0.16076.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["440ae73b017a477382deff7c0dbe4896fed21079000f6af154062c592a0c4dff","440ae73b017a477382deff7c0dbe4896fed21079000f6af154062c592a0c4dff"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
},
{"rsls":["http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/rpc_4.1.0.16076.swz","rpc_4.1.0.16076.swz"],
"policyfiles":["http://fpdownload.adobe.com/pub/swz/crossdomain.xml",""]
,"digests":["6ddb94ae3365798230849fa0f931ac132fe417d1cab1d2f47d334f8a47d097a7","6ddb94ae3365798230849fa0f931ac132fe417d1cab1d2f47d334f8a47d097a7"],
"types":["sha-256","sha-256"],
"issigned":[true,true]
}]
i've tried spitting out mxmlc config file flash builder, using -dump-config, produces same result. so, flash builder passing other arguments mxmlc when performing build prevent spark , sparkskins.swcs being referenced. have ideas? crippiling me @ moment, error every time load swf, looking 'components' resource bundle isn't included, because nothing's referencing spark in project.
yours fretfully, richard
-static-rsls prevent swf using rsls.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment