QMedia Movie area commands |

### QM_GetLooping

QM_GetLooping(areaRef; loopInfo):error
| areaRef | Longint | Movie area reference
| loopInfo | Longint | Movie looping info
| error | Longint | Error result

Returns the looping property of the movie controller in a movie plug-in area.

The controller's looping propery defines how the movie assigned to the area will be played:

- No looping. The movie plays from start to end and then stops.
- Normal looping. The movie plays in a continous loop from start to end.
- Palindrome looping. The movie plays continously from start to end, then backwards from end to start and so on.

The movie plug-in area is specified by areaRef and the looping information is returned in loopInfo.

QMedia defines the following constants for specifying looping options.

qm_NoLooping | 0 | No looping. The movie plays from start to end and then stops.
qm_NormalLooping | 1 | Normal looping. The movie plays in a continous loop from start to end.
qm_PalindromeLooping | 2 | Palindrome looping. The movie plays continously from start to end, then backwards from end to start and so on.

Example

``Get current looping of plug-in area xMovieArea` `` `C_LONGINT($looping)` `` `$error:=QM_GetLooping (xMovieArea;$enabled)` ``

Related commands

QM_SetLooping | Sets the looping property.

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