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

How to loop my video to specific frame without button (AS3)

New Here ,
Aug 01, 2013 Aug 01, 2013

So I created a game. The trouble is, my game has 8 end-case scenarion. 7 of those ended with a game over. However, before the ended to the "game over" video, they will play a video (each of those 7 play different video). After each scenarion play their own scenario video, all those 7 scenarios will be ended on the SAME "game over" video. Is there any code so my .fl loop to the game over frame without have to pressing a button?

Note: To help you understands and easy you helps me. Use this scenario

Scenario1-pregameovervideo: Frame 1

Scenario2-pregameovervideo: Frame 2

Scenario3-pregameovervideo: Frame 3

Scenario4-pregameovervideo: Frame 4

Scenario5-pregameovervideo: Frame 5

Scenario6-pregameovervideo: Frame 6

Scenario7-pregameovervideo: Frame 7

(If of those 7 scenarions planned to loop to frame8 after each scenario video finished without any button)

gameover: Frame 8

TOPICS
ActionScript
402
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
LEGEND ,
Aug 01, 2013 Aug 01, 2013
LATEST

You should be able to assign an event listener to detect when the video is COMPLETE and have its event handler function use a gotoAndStop(8) command.  How you implement that listener depends on how you implement the video(s).

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