Regarding my previous email, I have looked into the xml decompile of two swfs. The one being the working shape exported by MMC, and the other being the conglomeration of states being imported from svg by swfmill.  The only obvious differences in their decompile that I noticed was that swfmill is using the ShapeSetup tag with x and y coordinates to place the movie, and its rectangle reflects this (the transform coordinates for the PlaceObject2 tag are being set to 0,0).  In the decompile from MMC, the SetupShape had no x and y properties, the rectangle started w/left and top at 0, and it used the PlaceObject2 tag's transform to move the clip on the x and y coordinates.  I hope that this will be enough information for anyone to assist with this issue.  Again, any insight on this issue would be greatly appreciated.  Thanks.

Dan

On 12/19/05, Dan Shryock <[EMAIL PROTECTED]> wrote:
I am using swfmill to import an svg into my swf, and everything is working perfectly, except some of the properties of the generated movie clips.  I am importing a map of the United States, and each state is broken up into a separate group or path.  When I check the properties of each state inside of the instance1 object, their width and height match the actual drawn width and height.  But when I check the x and y properties, they always report at 0.  This wouldn't be a huge issue, except that I am creating mouseovers which zoom each state outwards by adjusting the _xscale and _yscale, and when the zooming occurs, it appears to be including the offset from left and top in the zoom, meaning that each state moves down and to the right (and it gets excessively worse as I move to the eastern states).  If the width reflected the offset, or the x and y were the offset, I could account for the difference and move it where it belongs.  I have tried drawing some simple shapes in MMC, and their properties appear to work as I would expect.  This leads me to believe that the issue occurs when swfmill imports the svg, and I was wondering if there would be any way to get this fixed, or suggestions to work around the issue.  Any help is greatly appreciated.

Dan

PS. swfmill is awesome, it made it possible to automate the generation of the map and actions for each state saving me many hours of work, thanks for all of the hard work!

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to