Lingo Dictionary > G-K > hold |  |

hold

Syntax

    sprite(whichFlashSprite).hitTest(point)
    hold sprite whichFlashSprite

Description

Flash command; stops a Flash movie sprite that is playing in the current frame, but any audio continues to play.

Example

This frame script holds the Flash movie sprites playing in channels 5 through 10 while allowing the audio for these channels to continue playing:

    on enterFrame
    	repeat with i = 5 to 10
    		sprite(i).hold()
    	end repeat
    end

See also

`movieRate`, `pause (movie playback)`