[swfmill] Define Shape?
Ralf Fuest
ralf-fuest at gmx.de
Sat Apr 5 07:06:34 PST 2008
The code defines a rectangular shape that is filled with a bitmap. You
can look at the Alexis' SWF Reference if you want more information about
the flash file format.
Ralf
> Hello,
>
> due some researches about swfmill, i converted some swf files to swfml.
> Although i found this code snipped:
>
> DefineShape objectID="2">
> <bounds>
> <Rectangle left="0" right="14800" top="0" bottom="8800"/>
> </bounds>
> <styles>
> <StyleList>
> <fillStyles>
> <ClippedBitmap2 objectID="1">
> <matrix>
> <Transform scaleX="20.00000000000000"
> scaleY="20.00000000000000" transX="0" transY="0"/>
> </matrix>
> </ClippedBitmap2>
> </fillStyles>
> <lineStyles/>
> </StyleList>
> </styles>
> <shapes>
> <Shape>
> <edges>
> <ShapeSetup x="14800" y="8800" fillStyle1="1"/>
> <LineTo x="-14800" y="0"/>
> <LineTo x="0" y="-8800"/>
> <LineTo x="14800" y="0"/>
> <LineTo x="0" y="8800"/>
> <ShapeSetup/>
> </edges>
> </Shape>
> </shapes>
> </DefineShape>
>
> As i can imagine, this defines a Rectangle, but what else? I didn't find
> something about it in the documentation, except the parameters.
>
> I would be glad if someone can help me.
>
> Greetings from Germany.
>
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
More information about the swfmill
mailing list