QMedia Movie area commands |

### QM_SetPlaySelection

QM_SetPlaySelection(areaRef; playSelection):error
| areaRef | Longint | Movie area reference
| playSelection | Longint | Play selection status
| error | Longint | Error result

Enables/disables constraining playback to the movie's selection for a movie plug-in area.

The movie plug-in area is specified by areaRef.

Parameter playSelection specifies how a movie will play in the area with regard to the movie's current selection. If playSelection is set to 1, movie playback will be constrained to the movie's selection. If playSelection is set to 0, the entire movie will play.

Example

``Constrain playback to movie selection` `` `$error:=QM_SetPlaySelection (xMovieArea;1)` ``

Related commands

QM_GetPlaySelection | Sets the play selection property.
QM_SetSelection | Sets the movie's current selection.
QM_GetSelection | Returns the movie's current selection.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:40:00