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

Layer modal content within canvas?

Community Beginner ,
Nov 11, 2018 Nov 11, 2018

I've come across a problem that I can't seem to find a solution for, and am hoping someone here can help, or explain why it's not possible.

So here goes..

I have a canvas created in Animate CC where when you mouse over the dock it pops up, you click the button and it  opens a frame:

AnimateFrames.png

With that I have a modal containing a javascript terminal emulator that overlays the canvas:

AnimateModal.png

However  I also have a flyout(dropdown) menu created in the canvas:

AnimateFramesFlyout.png

Which gets obstructed by the modal contents:

AnimateModalFlyout.png

Is there a way to either include my terminal emulator within the canvas, or to add a second animate canvas (just containing my flyout buttons) to my page which sits above my modal?

355
Translate
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

correct answers 1 Correct answer

Community Beginner , Nov 16, 2018 Nov 16, 2018

Thank you for your response. Your link led me down a rabbit hole that was a fun learning experience. I'm really new to all this and am enjoying the problem solving. So I ended up creating a second canvas to layer over the modal like so:

layeredCanvases.png

However I found that it made me unable to interact with the command line that rested below it. As far as i can tell this is actually the canvas working as intended.

The work around I found was to make a css drop menu within its own modal, and trigger the modal to l

...
Translate
Adobe Employee ,
Nov 14, 2018 Nov 14, 2018

Not the expert, doing my best to help. Have a look at this link Canvas inside canvas of html5 - Stack Overflow

Translate
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 Beginner ,
Nov 16, 2018 Nov 16, 2018
LATEST

Thank you for your response. Your link led me down a rabbit hole that was a fun learning experience. I'm really new to all this and am enjoying the problem solving. So I ended up creating a second canvas to layer over the modal like so:

layeredCanvases.png

However I found that it made me unable to interact with the command line that rested below it. As far as i can tell this is actually the canvas working as intended.

The work around I found was to make a css drop menu within its own modal, and trigger the modal to load at the specified frame. I added "document.canvasTimeline = this" to the first frame and access control over the timeline from the modal buttons while closing the dropdown menu with " onclick="document.canvasTimeline.gotoAndStop("frameNumber); $('#buttonModal').modal('close');" '

Screen Shot 2018-11-16 at 2.21.22 PM.png

So far it works as intended. I'll update should I find any issues.

Translate
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