css - Flex 4: External stylesheet module - how to exclude classes? -


i have myclass.as class , myclassskin.mxml - custom skin class. building style swf (module), loading @ runtime , applying in app ok.

the problem is: resulting .swf contains myclass , other classes, linked :(

how to exclude these classes styles? had use hostcomponent metatag in skin.

css file:

m|myclass { skinclass: classreference("myclassskin"); } 

build, if it's needed:

<mxmlc fork="false" failonerror="true"     file="${dir.skins}/css/style.css"     o="${dir.bin}/style.swf"     static-link-runtime-shared-libraries="false">   <source-path path-element="${dir.src}" />   <source-path path-element="${dir.skins}" /> </mxmlc> 


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -