<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><div>Daniel,<br><br>- Absolutely no need to apologise, your efforts are greatly appreciated even if the docs are a little sparse.<br>- Aha! Looks like that's my problem. I stupidly assumed that the downloads from swmill.org were correct. I'll have a play with the newer versions this weekend.<br>- I'm guessing that is this is a very haxe-centric community (which is fine, it looks like a cool language), but if I get something working in AS3 I'll post it in case anyone else is interested (ironically enough it looks like Jonas has as similar query posted yesterday).<br>- I did search things as best I could (and found a few interesting points). Am I correct in assuming that the osflash/pipermail archive has no seearch functionality? I ended up manually trawling through all the pages for the past couple
 of years.<br><br>Again, many thanks, things look much more hopeful now,<br><br>Richard<br></div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><div style="font-family: Courier New,monaco,monospace,sans-serif; font-size: 14pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Daniel Cassidy &lt;mail@danielcassidy.me.uk&gt;<br><b><span style="font-weight: bold;">To:</span></b> swfmill@osflash.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, 4 November, 2009 18:17:26<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [swfmill] as3compile<br></font><br>Hi Richard,<br><br>2009/10/30 Richard Humphreys &lt;<a ymailto="mailto:r_j_humphreys@yahoo.co.uk" href="mailto:r_j_humphreys@yahoo.co.uk">r_j_humphreys@yahoo.co.uk</a>&gt;:<br>&gt; I have been playing with swfmill for a couple of hours but have so far<br>&gt; failed to accomplish the most basic task:
 associating a clip with an as3<br>&gt; class.<br>&gt;<br>&gt; Based on the documentation which I have been able to find (which almost<br>&gt; completely seems to refer to haxe)<br><br>I’m aware that the available documentation isn’t great. Sorry about<br>that. Improvements are in the pipeline but swfmill went largely<br>unmaintained for a long while and these things take time. In the<br>meantime the best source of documentation is this mailing list --<br>either by asking questions or searching the archives.<br><br><br>&gt; I have successfully compiled a swf with<br>&gt; an embedded SVG. I have also separately compiled a very simple class with<br>&gt; as3compile. However the I am at a loss as to how to get swfmill to recognise<br>&gt; this as the controlling class for the clip.<br><br>For Flash 9+, you just need to set the id attribute of the clip to the<br>full name of the controlling class (including the package name) -- but<br>check you are using
 a recent unofficial build of swfmill. The ones on<br>swfmill.org are rather old and predate my maintainership. A new<br>release is planned imminently but again, these things take time.<br><br>There are recent Windows builds here:<br><a href="http://www.danielcassidy.me.uk/swfmill" target="_blank">http://www.danielcassidy.me.uk/swfmill</a><br><br>or you can check out the latest code from Launchpad and build it yourself:<br><a href="https://launchpad.net/%7Edjcsdy/swfmill/trunk" target="_blank">https://launchpad.net/~djcsdy/swfmill/trunk</a><br><br><br>&gt; Are there any example projects<br>&gt; available which demonstrate combining swfmill with as3compile (or mxmlc),<br>&gt; rather than haxe?<br><br>Not that I know of. But, when compiling to Flash 9+, the process of<br>associating clips with classes is the same for haxe as for as3compile<br>or mxmlc. I think the problem is that the existing tutorials and<br>examples tend to target Flash 8, which uses a
 different mechanism.<br><br>Hope this helps,<br>Dan.<br><br>_______________________________________________<br>swfmill mailing list<br><a ymailto="mailto:swfmill@osflash.org" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a><br><a href="http://osflash.org/mailman/listinfo/swfmill_osflash.org" target="_blank">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a><br></div></div>
<!-- cg1.c41.mail.ird.yahoo.com compressed/chunked Thu Nov  5 00:58:36 PST 2009 -->
</div><br>



      </body></html>