Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting compiler.theme option for Halo/Flex 4 in FlashDevelop

Here's what works with ant build.xml:

<mxmlc file="${module.main.dir}/main.mxml" keep-generated-actionscript="false" output="${module.output.dir}/main.swf" fork="${flex.fork}">
    <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <compiler.theme file="${FLEX_HOME}/frameworks/themes/Halo/halo.swc"/>
</mxmlc>

I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:

-theme=PATH_TO/halo.swc
-compiler.theme=PATH_TO/halo.swc
-theme=file=PATH_TO/halo.swc
-compiler.theme.file=PATH_TO/halo.swc
-theme.file=PATH_TO/halo.swc

Thanks.

like image 345
pm_labs Avatar asked Jul 12 '10 09:07

pm_labs


2 Answers

-compatibility-version=3

should fix it

or you could try

-theme=../frameworks/themes/Halo/halo.swc
like image 137
Clintm Avatar answered Sep 21 '22 08:09

Clintm


copy and paste the below line in additional compiler option.

-theme=${flexlib}/themes/Halo/halo.swc

This will work.

like image 30
Sathyamoorthi Avatar answered Sep 22 '22 08:09

Sathyamoorthi