dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Programming a Back button between scenes?

  1. #1

    Programming a Back button between scenes?

    Is it possible to have a back button in your movie that acts like the internet explorer one, except it switches in between scenes based on what scene the user last visited?

  2. #2
    bump

  3. #3
    Senior Member
    Join Date
    Feb 2003
    Location
    Out There...
    Posts
    162
    okay... so say you are in scene 2 and you want it to go back to scene 1, right? so then on a button put this code:

    Code:
    on (release) {
    	gotoAndPlay (Scene 1, 1);
    }
    **or** just use this:

    Code:
    on (release) {
    	prevScene();
    }

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