goToAndPlay - frame;label

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

  1. #1

    Default goToAndPlay - frame;label

    I'm new to FlashMX2004 Pro and to Action Script 2.0, I'm trying to go to a
    specific frame in the timeline, having problems with this simple code. I've
    down this in Flash MX, but when I bought Flash MX2004 everything is not working.

    Here is my code:
    Stop ();
    g4_btn.onPress = function (); {
    gotoAndPlay(20);
    }

    where: g4_btn is my (instance) button name
    frame 20 is where I want my playback head to go

    My g4_btn spans from frames 15-60 (have atween from 15-18) (placed
    a script)

    It won't go to frame 20, then pause on frame 20... what could be wrong???

    I've my .fla for more info

    Thanks and best regards.

    Manolet Africa

    manolet63 Guest

  2. Similar Questions and Discussions

    1. _currentframe... how to get the current frame label?
      What actionscript code do I need to get the curreframe's label? I don't want the frame number... this way I can make my movie player code more...
    2. Label TextFrams or any frame
      Hi there! I want to label a textframe so I can found it from VB-script. I can label a textframe from a script ,but I cant figure it out how I make...
    3. Syntax for gotoAndPlay a frame in another MC
      I have several movie clips on stage. Is it possible to write a gotoAndPlay() inside the current clip to move another movie clip forward while...
    4. controling director frame-label with swish?
      Hi all... I've just created a menu system using swishMax! The problem is it's destined for a macromedia director movie where the menu will...
    5. Capture frame label and assign to variable?
      Is it possible to capture the label for the current frame so that I can assign it to a variable? My frame labels carry the same name as the...
  3. #2

    Default Re: goToAndPlay - frame;label

    > It won't go to frame 20, then pause on frame 20... what could be wrong???

    If you want it to pause, use gotoAndStop instead of gotoAndPlay


    Jeckyl Guest

  4. #3

    Default Re: goToAndPlay - frame;label

    OK, I'll try!

    Tnx
    manolet63 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