[swfmill] What SWF shapes can cause the player to crash?
g99k at hotmail.com
Wed May 2 17:42:55 EDT 2007
I am trying to produce Swfml from Java with Batik. However, when I convert
SVG shapes to SWF shapes, the flash player crashes frequently. This happens
irregularly, even if it's the very same SFW file that's been loaded before
and displayed nicely.
Since it only happens sometimes and can be triggered by zooms I suppose it's
the drawing routine that gets caught in some unexpected edge records. One
visible symptom in a few cases is a black fill stretching outwards from some
shapes into all directions.
I checked the bounds, the winding and the fill styles, but they all seem
correct, and changes don't prevent the crashes. From experience I know that
edges of length zero can cause the player to crash. Could it be that some
edges are too short? Unfortunately, they all have irregular length because
cubics are converted to quads.
So, my question is: what SWF shapes can cause the player to crash? Does
anyone know DOs and DON'Ts for SWF shapes? Do any validators exist?
Any references or reports of previous experiences would be much appreciated.
Don't just search. Find. Check out the new MSN Search!
More information about the swfmill