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

How can I make a frame, after waiting a time goes to another frame

New Here ,
Dec 15, 2016 Dec 15, 2016

Copy link to clipboard

Copied

Hi there.

I'm using Adobe Flash Professional CS6, and I'm making a game. I need to make the question frame goes to a "game over" frame, after waiting a required amount of time, or a time limit. I want to make it wait for 60 seconds, but the scripts are too complicated.

How can I realize that function and how is the script needed to add the time limit and to be exact and without errors?

Views

481

Translate

Translate

Report

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

LEGEND , Dec 15, 2016 Dec 15, 2016

This is trivial.

setInterval(function(){gotoAndStop("game over")}, 60000);

Votes

Translate

Translate
Community Expert ,
Dec 15, 2016 Dec 15, 2016

Copy link to clipboard

Copied

Moved out of the Forum Lounge and over to the Adobe Animate CC - General (formerly Flash Pro) forum.

Votes

Translate

Translate

Report

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
LEGEND ,
Dec 15, 2016 Dec 15, 2016

Copy link to clipboard

Copied

This is trivial.

setInterval(function(){gotoAndStop("game over")}, 60000);

Votes

Translate

Translate

Report

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 ,
Dec 15, 2016 Dec 15, 2016

Copy link to clipboard

Copied

LATEST

It worked. Thank you so much.

Votes

Translate

Translate

Report

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