Oh yeah :)
I used SWCExtract to pull the SWF from the SWC, ignoring the AS files.
I then used SWFMill to create the "starter" SWF by using the component tags.
<movie width="250" height="300" framerate="24">
<background color="#FFFFFF" />
<component id="Button" file="lib\swc\Button\Button.swf"/>
<component id="Label" file="lib\swc\Label\Label.swf" />
<!-- Place components into library clips -->
<frame>
<library>
<clip id="MyButton">
<frame>
<place id="Button" depth="1" x="0"
y="0" name="MXButton"/>
</frame>
</clip>
</library>
</frame>
</movie>
I then used attachMovie in my Class to attach the MyButton symbol.
_Clip = attachMovie("MButton", "Clip", getNextHighestDepth());
// Apply label text to MXButton
_Clip.MXButton.label = "Hello World";
And finally, included the -mx option in my MTASC compile.
This is a first working example that I've done. I'm trying to figure
out a simpler method.
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org