[swfmill] SVG Groups and Layers to Sprites and Children
snirk3l at gmail.com
Thu Sep 2 10:35:49 PDT 2010
I'm working on a solution to have a fully open source complement to the
Adobe package for coding in Flex and AS3. I'm using FlashDevelop for coding
and currently I'm looking in to using InkScape SVG to bake SWF:s.
It works pretty well, but I can see some room for improvement. Currently
everything is baked individually as MovieClips, meaning first there are all
objects, then all groups with their objects and finally the layers with
objects, groups and their objects. Seems a bit redundant (as everything is
stored multiple times), not to say hard to navigate, resulting
in unnecessarily cumbersome manual coding as you need to write long lists or
clever use of arrays.
Would it be possible to implement a little bit of hierarchy and have sprites
and children instead on layers and groups?
This way it would make more sense with adding a layer to the stage, having
its children automatically added too. Then add other layer on top and cycle
through their children and add eventlisteners and such only as needed. Think
user interface and buttons.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swfmill