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

HTML 5 Canvas load & unload swf

New Here ,
Apr 05, 2022 Apr 05, 2022

Copy link to clipboard

Copied

Hi


I have a HTML 5 Canvas project that is a tutorial with many individual modules as swf files.
In AS3 I was able to load / unload movies to continue  to next module that replaced the one prior.
How can I do that in HTML5 Canvas?

Thanks|

Views

188

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 ,
Apr 05, 2022 Apr 05, 2022

Copy link to clipboard

Copied

If you're talking about loading a published Animate document into a movieclip, no, you can't do that with Canvas documents.

 

If you're talking about an Animate document chain-loading another document that completely replaces it, then yes, you can do that. Canvas documents are just HTML pages, so you can use whatever standard JavaScript you'd like to load them in.

 

https://developer.mozilla.org/en-US/docs/Web/API/Location/href

 

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 ,
Apr 05, 2022 Apr 05, 2022

Copy link to clipboard

Copied

LATEST

I see, so to clarify I just create multiple HTML5 documents and target them accordingly?
Thnx

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