6 Replies Latest reply: Feb 11, 2013 9:42 AM by wintermute_dk RSS

    Blank output from CreateJS toolkit

    wintermute_dk

      I am using createJS toolkit v 1.1.0906 on Flash CS6 and am trying to output a fla file to HTML5 through the toolkit. The output is however just a blank white rectangle in chrome, IE and firefox.

      I am using default settings of the toolkit.

      The fla file is a simple animation with no actionscript. It was created by importing a SWF file from Crazytalk animation software

       

      Please help!

        • 1. Re: Blank output from CreateJS toolkit
          moccamaximum Community Member

          The fla file is a simple animation with no actionscript. It was created by importing a SWF file from Crazytalk animation software

          swf is already compiled, so CreateJS won`t be able to "translate" it, either you decompile it (if you are entitled to), or you output it to a html5 conform (mp4) video file

          • 2. Re: Blank output from CreateJS toolkit
            wintermute_dk Community Member

            Thank you for the reply.

            I though that Flash decompiled the SWF when I imported it into flash? At least I am able to save it as .fla.

             

            If it is not decompiled how do I do that?

            • 3. Re: Blank output from CreateJS toolkit
              moccamaximum Community Member

              you need a decompiler like this one.

              Or a swf2video converter.

              It would be even better if you could target png sequence as output directly in Crazytalk.

              And instead of using Flash, AfterEffects might be better prepared to compress the whole thing as an html5 compatible mp4 video.

              I doubt that you gain any advantages by going the path flash>createJS, this would only be the case if Crazytalk would output their files with cartoonshaders.

              • 4. Re: Blank output from CreateJS toolkit
                wintermute_dk Community Member

                Actually Crazytalk can output png sequence - it works like a charm with createJS now I need createJS because the output must be HTML5 editable format on the front end.  I want to be able to exchange the picture assets of the animation on the fly directly on the browser instead of generating video on the backend and sending it to the browser.

                 

                Is createJS not the best option for doing so? (SVG)

                • 5. Re: Blank output from CreateJS toolkit
                  wintermute_dk Community Member

                  Whoops - does not seem to work anyway. When I use png sequence to create the HTML format it just shows pregenerated frames in sequence. That will not work since I need to manipulate the items in the animation. I can only do that when the format is based on a skelleton with separate body parts that get translated. That will of course not work with pgn sequence. As soon as I go into static frames or video I loose the skelleton.

                   

                  I will try with a decompiler like you suggest 

                  • 6. Re: Blank output from CreateJS toolkit
                    wintermute_dk Community Member

                    Just tested the decompiler but with the same result - the .fla translated through createJS is blank. The compiler actually also has en export to HTML function but that generated the same blank as createJS. It is very strange since for instance Swiffy works fine being fed the same SWF as I have now tried feeding the decompiler. Swiffys output is however more messy to work with than CreateJS - and I would therefor emuch prefer to get that to work