TomByrne / Flash2Svg

Export Animated SVG files staight from Flash Pro
MIT License
337 stars 52 forks source link

Output Format Type: SVG Images | Breaks on gradients? #42

Closed Jkarssen closed 6 years ago

Jkarssen commented 6 years ago

Animate version: CC. 2017.2 Release Build 16.2.0.24 SVG Animation version: v3.54

Currently I am testing the usage of your add-on to generate the separate 'SVG Images', so later on with code I can put them together to animate to this way be compatible with IE.

Now when having a flat object being animated works file, and it generates all the images perfect. Yet, when I have an object with a gradient, it seems to work on frame '0', but from frame '1' and forward all objects containing a gradient are black objects.

Now I feel I have tried every possible combination or option in the SVG Animation export, but it keeps breaking on gradient objects. Is this a bug of am I missing a setting?

Thanks for the add-on and help svg_animation

Robinfr commented 6 years ago

I checked this out for a bit, and it seems all of the SVGs after the first frame are referencing the gradients in the first file and ALSO creating the gradients AGAIN with a new name.

TomByrne commented 6 years ago

This should be fixed in v3.56