Skip to main content
Participant
March 17, 2017
Answered

Go to URL at end of stage without CLICK

  • March 17, 2017
  • 1 reply
  • 751 views

I'm done building my new intro (HTML5 canvas) for my website in Animate CC 2017.
At a certain frame, the intro is finished and 2 buttons are appearing to chose the desired language.

I could do that with OnClickGoToUrl (or something similar) however, when the user clicks on a language-button, the elements of the intro will fade out first one by one (already did that) and then go to that URL, so without clicking at the end of the scene.

I managed to stop the intro when the 2 buttons are visable first and then On click go to frame # where the fade out begins.

After that, the user should be redirected to the URL (so without clicking bcos he already clicked the button to start the fade out)

But how do I do that??

This topic has been closed for replies.
Correct answer kglad

use, for example:

window.open('http://www.adobe.com');

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
March 17, 2017

use, for example:

window.open('http://www.adobe.com');

Attacus35Author
Participant
March 17, 2017

Thanks man (or girl ) !

Lot's of explanation for one stupid line of code. Wasted several hours on this!

kglad
Community Expert
Community Expert
March 17, 2017

46 xy, and you're welcome.