6 Replies Latest reply on Jul 3, 2013 7:37 AM by DG Webs

    Swiffy JavaScript error

    DG Webs Level 1

      I've tried using Swiffy to convert an fla file to HTML5 and get the same error code with every fla file I try. Here is the error code:

      Screen Shot 2013-06-29 at 11.52.11 PM.png


      I'm using Flash Pro CC on a Mac running OSX 10.8.4


      Any ideas?

        • 1. Re: Swiffy JavaScript error
          Ned Murphy Adobe Community Professional & MVP

          You probably need to visit and find some help from the folks that make and/or use Swiffy.

          • 2. Re: Swiffy JavaScript error
            DG Webs Level 1

            That was my first thought. Unfortunately, I can't find any forum for Swiffy on the Google site (Swiffy is made by Google). I've contacted them directly but I don't have a lot of hope I'll get a response.

            • 3. Re: Swiffy JavaScript error
              moccamaximum Level 5

              You have to locate the Export as HTML 5 (Swiffy).jsfl.

              When swiffy installs it will add this command somwhere on your harddisk. Probbaly under a folder that is named "commands" the exact location differs from OS to OS.

              Look at line 26 and report back

              • 4. Re: Swiffy JavaScript error
                DG Webs Level 1

                Thanks. I located the file and line 26 is as follows:


                  var result = Swiffy.Compile(inputPath, outputPath);

                • 5. Re: Swiffy JavaScript error
                  moccamaximum Level 5

                  As there is no good documentation about the swiffy internal workings (at least I found noting on googles site) at this point it becomes a wild goose chase. My first guess would be that it has to do with path-problems. If you are working on a network drive, try to change fla and htlm/js output to local storage, if you already compiling locally try a directory that is not nested deeply and were you are sure you have complete rights.

                  • 6. Re: Swiffy JavaScript error
                    DG Webs Level 1

                    Yeah, I thought of that and moved the file to my desktop. It actually got a bit further before giving me the same error message. It got as far as creating an swf file. I installed Swiffy on an older version of Flash and it works on that provided the file size is below 1024 (I think) kb.


                    In the meantime though, it looks like Flash is dying a slow death and I'm working on gettng up to speed on Edge Animate to replace my Flash files. It would be nice to be able to simply convert my files, but learning a new program never hurts.