Skip to main content
Participating Frequently
November 14, 2016
Answered

Connecting Animate CC HTML5 Canvas Documents

  • November 14, 2016
  • 2 replies
  • 746 views

Is there a way to connect/link two or more HTML5 Canvas documents to each other?

I purposefully created different .fla Animate HTML5 Canvas documents to make the page loads faster, but I now cannot figure out how to seamlessly connect the two. Not sure if it is simply a matter to using a "go to web page" code and applying the finished html website address?

Any suggestions?

This topic has been closed for replies.
Correct answer ClayUUID

The preferred method of navigating the current page to a new URL in JavaScript is:

window.location.href = "mywebpageurl.htm";

html - Should I use window.navigate or document.location in JavaScript? - Stack Overflow

window.open is generally only used to open popup windows.

2 replies

ClayUUIDCorrect answer
Legend
November 14, 2016

The preferred method of navigating the current page to a new URL in JavaScript is:

window.location.href = "mywebpageurl.htm";

html - Should I use window.navigate or document.location in JavaScript? - Stack Overflow

window.open is generally only used to open popup windows.

kglad
Community Expert
Community Expert
November 14, 2016

the easiest (but not the most seamless) is to use window.open().