gt (greater than ā string specific) 397
gotoAndStop()
Availability
Flash 2.
Usage
gotoAndStop([scene,] frame)
Parameters
scene
An optional string specifying the name of the scene to which the playhead is sent.
frame A number representing the frame number, or a string representing the label of the frame,
to which the playhead is sent.
Returns
Nothing.
Description
Function; sends the playhead to the specified frame in a scene and stops it. If no scene is specified,
the playhead is sent to the frame in the current scene.
Example
When the user clicks a button that gotoAndStop() is assigned to, the playhead is sent to Frame 5
in the current scene and the SWF file stops playing.
on(release) {
gotoAndStop(5);
}
See also
stop()
gt (greater than ā string specific)
Availability
Flash Player 4. This operator was deprecated in Flash 5 in favor of the new > (greater
than) operator.
Usage
expression1 gt expression2
Parameters
expression1, expression2
Numbers, strings, or variables.
Description
Operator (comparison); compares the string representation of expression1 to the string
representation of expression2 and returns true if expression1 is greater than expression2;
otherwise, returns
false.
See also
> (greater than)