• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

I have games written in AS3 and AS2. How can I convert them to HTML5/javascript?

New Here ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

I wrote several games in Flash/AS3 and AS2 to play in browsers; they also work in Facebook. I now need to convert them because Flash is no longer supported by tablets and phones; I need to be able to produce Android and iOS versions. Rather that re-writing all that code, I think the solution may be using PhoneGap, but first I have to produce versions that work in javascript/HTML5.

Does Creative Cloud help with this?

Thank you

Mariana

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 28, 2015 Oct 28, 2015

It depends upon the complexity of your games. Generally, a safer bet would be to tweak the UI and produce native games for iOS and Android using Flash Professional and AIR. If they are simple enough, you can manually rewrite the game using JavaScript to target Canvas - and keep all the assets as they are in Flash Professional.

There is no reliable solution to automatically convert AS3 to JS.

Votes

Translate

Translate
LEGEND ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

Lots of code people here that should be able to answer your question.


Discussion moved from Adobe Creative Cloud to Coding Corner

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

ok thx,

I tried the automatic converter provided by CC, it doesn't work....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 27, 2015 Oct 27, 2015

Copy link to clipboard

Copied

Although Brad has moved your thread to Coding Corner, I think you would probably get better help in one of the Flash Professional forums. There's a specific forum for ActionScript 3.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 28, 2015 Oct 28, 2015

Copy link to clipboard

Copied

It depends upon the complexity of your games. Generally, a safer bet would be to tweak the UI and produce native games for iOS and Android using Flash Professional and AIR. If they are simple enough, you can manually rewrite the game using JavaScript to target Canvas - and keep all the assets as they are in Flash Professional.

There is no reliable solution to automatically convert AS3 to JS.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 28, 2015 Oct 28, 2015

Copy link to clipboard

Copied

LATEST

they are pretty complex, I don't know if Javascript can handle them

I didn't know that Flash Professional can produce native code for iOS & Android... I'll check it

Thank you

Mariana

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines