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

Go to URL at end of stage without CLICK

New Here ,
Mar 17, 2017 Mar 17, 2017

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??

TOPICS
ActionScript
707
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 Expert , Mar 17, 2017 Mar 17, 2017

use, for example:

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

Translate
Community Expert ,
Mar 17, 2017 Mar 17, 2017

use, for example:

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

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
New Here ,
Mar 17, 2017 Mar 17, 2017

Thanks man (or girl ) !

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

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 Expert ,
Mar 17, 2017 Mar 17, 2017
LATEST

46 xy, and you're welcome.

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