Skip to main content
Participating Frequently
September 8, 2020
Question

How to create a pop-up window in Animate?

  • September 8, 2020
  • 1 reply
  • 583 views

Hello, Animate newbie here. I was following the animated clickable infographic tutorial and I am lost. Is there a step-by-step guide to creating a pop-up window in Animate? I want the user to be able to click a button and for a window to pop up with more information, or at least a hoover over a button for more information. I tried all of the other guides and downloaded files attached but I am still lost in what to do. In the tutorial there is no background to how the button is set up and how to make the pop-up window appear.  Please help!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 8, 2020

assuming this is an html5/convas project:

 

if you really want a pop-up window use window.open.  use google to get more info.

 

but you probably don't want to open a new window. you probably just want to toggle a movieclip (eg, info).  in that case you can use:

 

this.button.addEventListener("click",buttonF.bind(this));

 

function buttonF(){

if(this.info.alpha<.5){

this.info.alpha=1;

} else {

this.info.alpha=0;

}

}

madsofoAuthor
Participating Frequently
September 8, 2020

Yes it is a HTML5 project, sorry I forgot to include that. 

 

This is a really helpful start to my pop-up movieclip journey, thank you!

kglad
Community Expert
Community Expert
September 8, 2020

you're welcome.