TomByrne / Flash2Svg

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

A wrong path #28

Closed ZcarecroW closed 7 years ago

ZcarecroW commented 8 years ago

Hello, I just installed the latest version of Flash2Svg (3.48.0) but when I try to export a very simple animation I get the following error: 2016-11-12 19_26_05-adobe animate I'm from Germany and my Animate is German, so the text is saying: _The given output path could not be found. Please update and try again. [D-\SOUwut\frizzy-ohr-wackeltemp] The last must be D:\SOUwut... but there is _ instead of : Please help. I like your plugin very much, used an earlier version before.

ZcarecroW commented 8 years ago

And there is the following error in the bottom field "Ausgabe" - I think it can be translated as "Output": 2016-11-12 19_52_49-

TomByrne commented 8 years ago

Would you be able to attach the FLA?

ZcarecroW commented 8 years ago

Of course: frizzy-ohr-wackel.zip

ZcarecroW commented 8 years ago

btw: I also tried to install the extension manually like it is described here: http://www.tbyrne.org/manually-installing-flash2svg But the problem remained.

mellipuh commented 8 years ago

Any news here? I got the exact same problem (using Animate CC 2017)

no-use-for-a-username commented 7 years ago

Did anyone find a solution for this? I have the same problem (macOS 10.12.1, Adobe CC 2017). screen

mattlegaspi commented 7 years ago

Same issue here image

VincentVToscano commented 7 years ago

Same issue as others describe above.

  1. OS X 10.11.6
  2. Animate CC 2017 Release Build 16.0.0.112

The plugin creates the temp directory in correct location but nothing gets created. The path looks exactly as others have posted above (notice double slash [not sure if that was in previous versions]).

Output Window: TypeError: svgXml.defs[0] is undefined

Nothing in the log file except below: Operation,Total Time,Average Time,Run Count

Installed with: ZXPInstaller.app

Let me know if you need more details.

TomByrne commented 7 years ago

Hi everyone, I don't have time at the moment to look into this, hopefully within the next few weeks though. The plugin creates a temporary movieclip filled with all of the shapes it needs. Then it exports this using Animate's built-in SVG exporter. Then it reads the generated SVG file and pulls out all of the shapes and puts them into the animated SVG file.

Looks as if the built-in SVG export is failing on Mac in v2017, not sure why though.

alssl-ross commented 7 years ago

Hi Tom,

Just to add, I had the extension installed and working and had produced several SVG animations. I hadn't updated Animate CC in some time though.

Today, I let Animate run through and auto-update and the extension now fails with the "the output directory could not be found" error.

My Animate CC has been updated to 2017.0.1 release, Build 16.0.1.119 and I cannot export any FLAs to SVG now, even FLAs that I had successfully exported under an older version of Animate CC. This is running on Windows 10 Home.

Thanks for any help

TomByrne commented 7 years ago

Looks like some changes to the underlying JS engine changed the behaviour of String.replace(), which had catastrophic effects. I have made a custom version of String.replace method which behaves like the old one.

This fix is in v3.52.