Help with GotoAndPlay.

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Help with GotoAndPlay.

    Can anyone help me? I want my button to go to scene 31, frame 1 when you click
    it, but at the moment, it just goes to the next frame. Here is my current code:
    [hr]
    on (release) {
    gotoAndPlay("31", "1");
    }
    [hr]
    Why isn't it working? Thanks.

    cazwazere Guest

  2. Similar Questions and Discussions

    1. gotoAndPlay(arraylocation)
      I have an array I'm storing string variables in. I want to be able to retrieve an item from the array x, and then gotoAndStop(x); my code...
    2. gotoAndPlay not working
      Hello I have a clip containing an animation starting at frame 2 (frame 1 is emtpy and contains the stop() instruction) I cannot launch...
    3. movieclip.gotoandplay
      maybe i shouldnt expect more than a RTFM from this post, but believe me ive looked long now, and this is just for a f**ng simple thing as getting a...
    4. gotoandplay doesn't "gotoandplay"
      Hi Rick, Maybe a stupid question, but did you put the action on the keyframe 500 or did you by accident put it on a symbol/mc? Else try this:...
    5. gotoAndPlay in different Scene's
      I'm currently trying to make a Website with different Scene's. In each scene, theiris the same menu. But when i go to another Scene, and try to...
  3. #2

    Default Re: Help with GotoAndPlay.

    on (release) {
    gotoAndPlay("31",1);
    }

    should work. the scene name is a string and needs quotes but not the frame number.
    jerome@STC Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139