QMedia Movie track commands |

### QM_SetTrackLayer

QM_SetTrackLayer(movieRef; trackID; layerNumber):error
| movieRef | Longint | Movie reference
| trackID | Longint | Track ID
| layerNumber | Longint | Track layer
| error | Longint | Error result

Changes the layer of a track.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter trackID is the ID of the track.

Parameter layerNumber specifies the track's layer number. The layer number must be in the range of -32768 ... 32767.

Example

``Set track ID $trackID of movie $movie to be the topmost track` `` `$err:=QM_SetTrackLayer ($movie;$trackID;-32768)` `` ``

Related commands

QM_GetTrackLayer | Returns the track's layer.

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