I was trying to locate the source of error where a piece of graphic in an
asset built by swfmill would not coerce to a Sprite derived class. Finally I
converted swf to xml and saw that swfmill added a sprite within a sprite,
even though I was embedding a simple SVG consisting of one polygon. The
swfmill XML looks like this, where you can see two sprite definitions
instead of one. Is it weirdness or what? :-)
<DefineShape5 objectID="4" nonScalingStrokes="0" scalingStrokes="0">
<bounds>
<Rectangle left="-100" right="100" top="-50" bottom="50"/>
</bounds>
<strokeBounds>
<Rectangle left="-100" right="100" top="-50" bottom="50"/>
</strokeBounds>
<styles>
<StyleList>
<fillStyles>
<Solid>
<color>
<Color red="0" green="0" blue="0" alpha="255"/>
</color>
</Solid>
</fillStyles>
<lineStyles/>
</StyleList>
</styles>
<shapes>
<Shape>
<edges>
<ShapeSetup x="-100" y="-50" fillStyle0="1"/>
<LineTo x="200" y="0"/>
<LineTo x="-100" y="100"/>
<LineTo x="-100" y="-100"/>
<ShapeSetup/>
</edges>
</Shape>
</shapes>
</DefineShape5>
<DefineSprite objectID="3" frames="1">
<tags>
<PlaceObject2 replace="0" depth="1" objectID="4">
<transform>
<Transform transX="0" transY="0"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<End/>
</tags>
</DefineSprite>
<DefineSprite objectID="2" frames="1">
<tags>
<PlaceObject2 replace="0" depth="2" objectID="3" name="id2824728">
<transform>
<Transform transX="0" transY="0"/>
</transform>
</PlaceObject2>
<ShowFrame/>
<End/>
</tags>
</DefineSprite>
<Export>
<symbols>
<Symbol objectID="2" name="myapp.gui.assets.DropDownArrow"/>
</symbols>
</Export>
_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org