[swfmill] Problem with multiple SVGs in one library

Brad Goodman brad at bradgoodman.com
Mon Aug 25 13:26:04 PDT 2008


I am building an SWF library with three SVGs in it. When I go to use this
library, only the *first* SVG physically listed
in the file is displayed, no matter which (of the three) ID's I use.

i.e. in this case, "busdoor" is always displayed, even if I try to display
"buslights" or "buspict".

When I re-order the entries in the XML file, the first is always displayed.

This is true when adding a movieclip in my ActionScript code, or in just
using the <place> command below, and viewing the resulting file directly
from swfmill.

Any ideas?

Thanks,

-BKG

----- Example follows -------


<?xml version="1.0" encoding="iso-8859-1" ?>

<movie width="320" height="150" framerate="12">
  <frame>
    <library>
      <clip id="busdoor" import="busdoor.svg"/>
    </library>
    <library>
      <clip id="buspict" import="buspict.svg"/>
    </library>
    <library>
      <clip id="buslights" import="buslights.svg"/>
    </library>
    <place id="buspict" name="buspict" x="10" y="100" depth="1"/>
  </frame>
</movie>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20080825/0666d1ab/attachment.html 


More information about the swfmill mailing list