5 Replies Latest reply: Feb 19, 2014 7:35 PM by vari25 RSS

    Toolkit for Create JS output problem

    vari25 Community Member

      Hello All,

       

      I have created a swf and used Toolkit for JS for html output.

       

      I have some warning messages which I totally don't understand.

       

      WARNINGS:
      Feature not supported: Embedded fonts.
      Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (47)
      Input and static text fields are published as dynamic text fields. (39)
      Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (61)
      Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
      

       

      Please help me understand this situation and guide me to overcome this.

       

       

      Thank all in advance.

       

      Vari

        • 1. Re: Toolkit for Create JS output problem
          moccamaximum Community Member

          EaselJS Docu is here:

          http://www.createjs.com/#!/EaselJS

           

          At the moment, even in FlashCC there is no real automatism to perfectly translate all actionscript to javascript.

          Even if you heed the warnings you quoted above, you will only get so far as you are willing to learn javascript, imo.

          • 2. Re: Toolkit for Create JS output problem
            Rob Dillon CommunityMVP

            When CreateJS is translating your Flash movie, it has to work within the confines of html and javascript. There is no corrolary in either for embedding font outlines. If you want to use fonts outside of those normally available through html, then you'll have to use a method that works with html like the css at-rule @font-face or Google fonts to bring unique fonts to your file.

             

            Javascript doesn't have an "input" text type, so any textfield in your Flash movie that's set to be an input type will be re-set to work as a named text object in the javascript version.

             

            You will need to adjust the numbered frame references if you have any.

             

            The fourth warning is telling you that image links and anchor links may not work as expected when played from your computer.

             

            You can find more useful information on CreateJS here: http://community.createjs.com/

            • 3. Re: Toolkit for Create JS output problem
              vari25 Community Member

              Thank u for guiding me.

               

              The file which I want to convert has buttons to which a sequence of images r linked.

               

              CLicking this button would make these images visible and with the mouse interactivity it will rotate while dragging.

               

              This, after converting, is rotating automatically without any stopping as if an animation is playing.

               

              But actually there is an stop for evrything.

               

               

              Please help.

               

               

              Thank u.

              • 4. Re: Toolkit for Create JS output problem
                Rob Dillon CommunityMVP

                In order to figure out what is wrong, I would have to go through your original Flash file and the html/javascript files line by line. That's pretty much outside the scope of this forum. You may find a common problem with the situation that you have by looking through the createjs forums.

                • 5. Re: Toolkit for Create JS output problem
                  vari25 Community Member

                  Would do that.

                   

                  Thank you all so much for the kind replies..