r_j_humphreys at yahoo.co.uk
Thu Nov 5 01:22:57 PST 2009
- Absolutely no need to apologise, your efforts are greatly appreciated even if the docs are a little sparse.
- 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.
- 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).
- 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.
Again, many thanks, things look much more hopeful now,
From: Daniel Cassidy <mail at danielcassidy.me.uk>
To: swfmill at osflash.org
Sent: Wed, 4 November, 2009 18:17:26
Subject: Re: [swfmill] as3compile
2009/10/30 Richard Humphreys <r_j_humphreys at yahoo.co.uk>:
> I have been playing with swfmill for a couple of hours but have so far
> failed to accomplish the most basic task: associating a clip with an as3
> Based on the documentation which I have been able to find (which almost
> completely seems to refer to haxe)
I’m aware that the available documentation isn’t great. Sorry about
that. Improvements are in the pipeline but swfmill went largely
unmaintained for a long while and these things take time. In the
meantime the best source of documentation is this mailing list --
either by asking questions or searching the archives.
> I have successfully compiled a swf with
> an embedded SVG. I have also separately compiled a very simple class with
> as3compile. However the I am at a loss as to how to get swfmill to recognise
> this as the controlling class for the clip.
For Flash 9+, you just need to set the id attribute of the clip to the
full name of the controlling class (including the package name) -- but
check you are using a recent unofficial build of swfmill. The ones on
swfmill.org are rather old and predate my maintainership. A new
release is planned imminently but again, these things take time.
There are recent Windows builds here:
or you can check out the latest code from Launchpad and build it yourself:
> Are there any example projects
> available which demonstrate combining swfmill with as3compile (or mxmlc),
> rather than haxe?
Not that I know of. But, when compiling to Flash 9+, the process of
associating clips with classes is the same for haxe as for as3compile
or mxmlc. I think the problem is that the existing tutorials and
examples tend to target Flash 8, which uses a different mechanism.
Hope this helps,
swfmill mailing list
swfmill at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swfmill