2009/8/19 Jens-Fabian Goetzmann <p...@jefago.de>:
> I'm using swfmill for the development of Flourish Player
> (http://flourishplayer.sourceforge.net), and for one of my use cases (import
> one multi-layered SVG as clips named according to their layer id) it doesn't
> work like the old version (0.2.12) did. However, I figure that the SVG
> import of swfmill has changed quite a bit in the meantime and I should
> probably update the XML. Anyways, here are the relevant parts of the XML
> that worked with 0.2.12 and don't work now:

No, you can't do that any more, as a result of the fixes to allow
importing more than one SVG. Those changes predate my maintainership,
but the next release will be the first official release to include
them.

Actually it's always been possible to import more than one SVG -- the
problem was that SVG ids were exported globally, and tended to
conflict. For example, two SVGs created in Inkscape will tend to each
have a <g id="Layer 1">, and those conflict when exported.

If your SVG is associated with a class then the layers should be
available as properties of that class, but you can't place them with
<place>. You'll need to split the layers up into separate SVGs instead
(which is probably what you wanted to do in the first place).

Sorry about that -- I'm still not especially happy with the SVG import
behaviour but I think it's an improvement on only being able to import
one SVG per SWF ;).

Cheers,
Dan.

_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to