A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: go to previous scene, how can i?

  1. #1
    Member
    Join Date
    Oct 2001
    Posts
    50
    Hi everyone
    I have a very little problem, so I need ur help
    My problem is :
    I have 2 scenes, when scene 2 finishes, it has a button-like movie clip labeled "replay" at the last frame, if you click on it, it should take you to scene 1

    now, in the actions of replay movie clip i wrote this code gotoAndPlay ("Scene 2", 1);

    & in the last frame of scene 2 it has a stop action
    now, the problem is when i try to replay the movie it doesn't go to scene 1, it remains static!

    any help?
    thanks in advance

  2. #2
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960
    label your frames
    then use gotoandplay("framelabel");

  3. #3
    Senior Member
    Join Date
    Oct 2000
    Location
    Barcelona
    Posts
    875
    If you want to take the play back to the beginning of scene 1, tell it so in the actions of your MC/button. Try gotoAndPlay ("Scene 1", 1); rather than gotoAndPlay ("Scene 2", 1);


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center