User Guide
634
Example
This statement checks whether the mouse button is being pressed and calls the handler
dragProcedure if it is:
if the stillDown then dragProcedure
See also
the mouseDown (system property)
stop (Flash)
Syntax
sprite(whichFlashSprite).stop()
stop sprite whichFlashSprite
Description
Flash command; stops a Flash movie sprite that is playing in the current frame.
Example
This frame script stops the Flash movie sprites playing in channels 5 through 10:
on enterFrame
repeat with i = 5 to 10
sprite(i).stop()
end repeat
end
See also
hold
stop (RealMedia)
Syntax
sprite(whichSprite).stop()
member(whichCastmember).stop()
Description
RealMedia sprite or cast member method; stops playback of the media stream and resets
currentTime to 0 and percentBuffered to 0. The mediaStatus value becomes #stopped.
Calling the
play command after calling the stop command requires the stream to rebuffer, and
playback begins at the beginning of the stream.
Examples
The following examples stop sprite 2 and the cast member Real from playing:
sprite(2).stop()
member("Real").stop()
See also
play (RealMedia), pause (RealMedia), stop (RealMedia), mediaStatus