How to close window

Hi I’m very new to Saola Animate. I’m trying it out and see if it will fit our needs, recreating some of our flash apps. However I need to close the popup window that Saola is running in. In flash I did an external call to a javascript function - closeWindow(), which was in the popup window. How do I call that function in Saola or how do I close the window when I click on the button on the finale page?

I know about Mouse Click -> add action I just don’t know how to close execute code to close the window.



You can use a Run JavaScript action with the following code:


Please be noted that it can close only windows opened by script.


Ah I see. Thank you.