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

Combine several HTML5 scenes into a presentation (similar to flash)

New Here ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

I have made several individual scenes using HTML5 canvas.  I want to be able to link them together using a 'next' and 'back' button.  I am basically trying to produce a presentation similar to flash going forwards or backwards through the scenes.  Is this possible? 

Views

65

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 ,
Jul 15, 2022 Jul 15, 2022

Copy link to clipboard

Copied

Hi.

 

What are your scenes? Frames, Movie Clip instances, html files?

 

Please let us know.

 

Regards,

JC

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 ,
Jul 16, 2022 Jul 16, 2022

Copy link to clipboard

Copied

LATEST

Scenes are not available in Canvas. In ActionScript 3 FLAs you could use scenes, but a different way to work is to have movieclips in the library, then instead of going to another scene you add the next movieclip to the stage with code, and remove the current movieclip. Visually it will be the same effect as going to another scene.

That way of working would also work in Canvas FLAs.

If you want to keep the current separated scenes as individual Canvas items, you could change the location of the window, to go to the next or previous scene, but the loading time would be a distraction, and there may be some amount of window redrawing going on as well.

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