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?
Copy link to clipboard
Copied
Hi.
What are your scenes? Frames, Movie Clip instances, html files?
Please let us know.
Regards,
JC
Copy link to clipboard
Copied
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.