Skip to main content
SSSSSSBenay
Known Participant
February 5, 2019
Question

Using external .js documents with associated .html and .css files to Flash HTML5 Canvas

  • February 5, 2019
  • 1 reply
  • 590 views

Hello everyone,

I am making the transition from Flash AS3 to Flash HTML5 Canvas. I have been creating interactive children's educational games using Flash and AS3 for years, and I am now trying to do the same with Flash HTML5 Canvas. My programs consist of a main timeline with 10 frames, navigational arrows, and interactive lessons on each frame. I see that there are excellent interactive games out there created with a .js, .html, and .css file. My question: How do I translate these game into the Flash HTML5 Canvas framework using my main timeline? I understand how to import an additional .js file to my document, but I am lost as to how to include the necessary information (divs, containers, etc.) from the corresponding external .html file (which is NOT my document's .html file). I hope this makes sense.

I have tried to go the route of embedding the external .html file into a div in my main .html file, but I read that is problematic. I would love to be able to copy and paste the game .js code onto my main timeline and have it work from there. Please advise....Thank you in advance!

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
February 12, 2019

This YouTube video describes how to combine your Animate project into a website. 

Adobe Animate CC: Add to HTML web page (Updated Version) - YouTube

Nancy O'Shea— Product User & Community Expert