Skip to main content
Participating Frequently
April 15, 2018
Answered

Load next 'scene' after into movie?

  • April 15, 2018
  • 1 reply
  • 383 views

I am a beginner and using Flash CS6.

I have embedded a FLV movie to play when the swf/app starts. If I were to have say a menu screen after the movie plays, what's the correct way to do this. And this includes if you clicked the intro movie also before it ended on it's on accord?

If you can help, tell me like I am 5 years old lol.

thanks

    This topic has been closed for replies.
    Correct answer kglad

    this.addEventListener(MouseEvent.MOUSE_DOWN,downF);

    function downF(e:MouseEvent):void{

    this.gotoAndStop(frame name or number);  // or gotoAndPlay

    }

    1 reply

    kglad
    Community Expert
    Community Expert
    April 15, 2018
    rams009Author
    Participating Frequently
    April 15, 2018

    as 3.0. I found the answer to stopping the movie part. I create a new layer. go to frame 1600(end of movie) and create a keyframe and add stop();.

    Seems to work ok. I need to move onto the next scene at frame 1600 though. I believe I have to add an event listener and if you want to move to the next scene if screen is touched youI add a touch event. Any ideas of the as 3.0 code. ?

    thanks

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    April 15, 2018

    this.addEventListener(MouseEvent.MOUSE_DOWN,downF);

    function downF(e:MouseEvent):void{

    this.gotoAndStop(frame name or number);  // or gotoAndPlay

    }