dontRefresh

Specifies whether the last frame of a video clip remains visible or is cleared at the end of the movie.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the dontRefresh of videoClip to {true | false}

# Examples

set the dontRefresh of videoclip "Sample Movie" to true

# Description

Use the dontRefresh property to leave the final frame of a movie visible.

If a video clip's dontRefresh property is true, the last frame of the movie remains on the screen after the movie is finished playing, until that portion of the screen is redraw.

If the dontRefresh is false, the last frame disappears at the end of the movie.

>*Note:* The color table used by the movie does not persist after the > movie finishes playing. This means that if the screenColors is 256 > or fewer, the colors in the last frame may shift when the movie ends. > To prevent this problem, you can set the colorMap property to the > set of colors used by the movie.

# Tags

# See

- **keyword:** templateVideoClip - **property:** frameRate, colorMap, videoClipPlayer - **command:** play - **function:** screenColors - **glossary:** property, redraw, frame, video clip, color table