A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Quick AS scene jump question

  1. #1
    Junior Member
    Join Date
    May 2004
    Posts
    28

    Quick AS scene jump question

    at the moment im tryin 2 use this code in a movieclip (pill button)

    on ( release ) {
    stopAllSounds();
    _root.gotoAndPlay("Scene 5",1);
    }

    to go back to the start of Scene 5 but nothing happens.
    Can some kind soul out there please tell me where im going wrong...

    CoopZ

    x

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    use labels instead of scene names and frame numbers:
    _root.gotoAndStop("label");

    gparis

  3. #3
    Junior Member
    Join Date
    May 2004
    Posts
    28
    cheers works

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