Gordon,
I had no idea. That's great! How would I do that?
Here is my Ant task:
<!-- Creates an SWC Component and exports it to the SWC directory in the
current project -->
<target name="Export to SWC" depends="Create SWC Directory"
description="Exports SWC to specific directory">
<echo>Exporting component to SWC directory...</echo>
<compc
output="${swcDirectory}/${swcFile}"
include-classes="${componentClasses}">
<source-path path-element="${basedir}"/>
<source-path path-element="${componentSource}"/>
<namespace uri="http://www.flexcapacitor.com/2007/mxml"
manifest="manifest.xml"/>
<include-namespaces uri="http://www.flexcapacitor.com/2007/mxml
"/>
</compc>
</target>
I can set styles with default.css but what about setting properties like
"enabled = false"? Do I still put that in the constructor method?