Skip to main content
ASC1001
Participant
September 4, 2021
Question

Converting Flash to HTML

  • September 4, 2021
  • 1 reply
  • 347 views

Hello Anyone

I’m out of my depth and would be very grateful for any advice or recommendations.

I am trying to convert Shockwave Flash animations that interactively rotate using the arrow keys to HTML5. 

They have one frame, one sprite and two buttons.

Action Scripts  are:   On (Key Press “<Right>”) {r = r+1; ‘line”._ rotation = r;

On (Key Press “<Left>”) {r = r-1; ‘line”._ rotation = r;   Frame 1 Do Action r = 0;

 

Creating a video from/by rotating the sprite (click by click) through 360 degrees is not an answer. The video folder is huge relative to the original SWF object and interactivity is lost by using the slider in its track to position the ‘sprite’ - compared to arrow key control.

Is there a conversion tool that would work?  Adobe Animate CC maybe? or Capitivate? Adobe AIR?

What would work? and what would be best if I have to rebuild the animations?

J

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    September 5, 2021

    there's no reliable automated tool.  you have to learn some javascript and convert the code yourself, ask someone to do it for you, ask for help doing it or hire someone.

    ASC1001
    ASC1001Author
    Participant
    September 5, 2021

    Thanks for replying. It is still possible to achieve interactivity using the arrow keys then? Seems easy to convert to video formats and GIFs

    Should I start with Adobe Animate? Try Haxe? Just need pointers for the right door.

    Thanks again

    kglad
    Community Expert
    Community Expert
    September 5, 2021

    yes, js can encode for any key (including arrow keys).  and yes, start with animate because it will automatically (usually) convert everything but the actionscript.  and it will include the actionscript (commented out) making it easier to code the js.

     

    one caveat; the actionscript you cited is old- i believe it's as2, but it's possible it's as1 and i don't know what animate will do with a fla that old.  it's worth trying, but i've not opened an as1 or as2 fla with an cc.