Skip navigation
Giorgi Siprashvili
Currently Being Moderated

Flash To HTML5

Jun 10, 2013 2:49 PM

Can adobe flash CS6 export Project to HTML5?

 

----------------------------------------

Giorgi Siphrashvili

[personal info removed]

 
Replies
  • Currently Being Moderated
    Jun 10, 2013 4:49 PM   in reply to Giorgi Siprashvili

    I haven't tested the latest version but I doubt something like this is possible, Flash and HTML5 are different things.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 11, 2013 11:01 AM   in reply to Giorgi Siprashvili
     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2013 2:54 PM   in reply to Rob Dillon

    Just read through the link.  Thanks for posting it.  I have used Flash as my major eLearning tool for several years now (since Flash 5).  One question:  Will it allow you to convert all the interactivity that one typically needs for eLearning via ActionScript to javaScript, or do you have to rewrite all of it in JS?  And does it work equally with with AS2 and AS3?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2013 4:33 PM   in reply to teamperform

    I have no idea. The createJS tool is downloadable for free for Flash CS6 and comes with Flash CC. You'll have to try it for yourself. Your file may translate very well or you may have to do a lot of work to get the html version to run.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2013 5:36 PM   in reply to Rob Dillon

    You can.  It's just a bit annoying.  See my nearby rant, which has a few things to watch out for, and a few work-arounds...

     

    http://forums.adobe.com/thread/1285287

     

    Lots of mines in a FLA file that was 'already made'.  You can make anything work, but it will cost you your sanity. 

     

    This describes every HTML5 project: https://www.youtube.com/watch?v=nU2y6ztlMAQ

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 20, 2013 12:07 PM   in reply to teamperform

    AS2 will look a bit more 'foreign' than the AS3 code, if you're just porting it straight across.  The CreateJS libraries look a little more like the AS3 classes, but are very different to either AS2 or AS3.

     

    AS3 can almost, sort-of work, if you strip all of the type safety off, and translate the classes. 

     

    If it was all just 'stop' and 'gotoAndPlay' kinds of junk in the frames, you actually get off lucky; you can write the AS code, then write the JS code in the same boxes.  It's still awful, but it's less awful than doing bigger projects.

     

    import flash.media.*

     

    /* js

    var anim_main=this;

    this.title_loop=createjs.Sound.play("Title_Music",'none',0,0,1001);

    anim_main.stop();

    anim_main.bNext.onClick= continue_prank;

    anim_main.bPlayAgain.onClick= continue_prank;

    function continue_prank(e)

    {

              anim_main.play();

    }

    */

     

    var title_loop:SoundChannel = (new Title_Music()).play(0,1001);

    stop();

    bNext.addEventListener( MouseEvent.CLICK, continue_prank );

    bPlayAgain.addEventListener( MouseEvent.CLICK, continue_prank );

    function continue_prank(e:Event):void

    {

              play();

    }

     

     

    But either way, it's the identical task of taking things that are made to work with Flash, and 'fix them' for the CreateJS libraries.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2013 5:50 PM   in reply to teamperform

    Oh, and NO, it absolutely won't be 'write once, run everywhere'. 

     

    It will be 'write once', then discover how it's broken in endless, subtle ways on each and every browser, and if you're truly unfortunate, someone will be whinging at you about 'old' browsers, like IE9, and even IE8.  Yes, it's truly possible you'll hear about something not working in IE8 from whatever you have for 'QA'.  Then the bugs about 'iOS' and sounds will start coming in.  Oh, you unfortunate people.


    People hawking HTML5 tools at you will claim it's 'all platforms', but it's a miserable, endless mess.  I'd welcome you to hell, but really, hell would be an upgrade, compared to working with 'web standards'.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 20, 2013 8:27 AM   in reply to pingnak

    Very funny.  Thanks for the humor in the midst of this chaos, I needed it.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points