Set the play count. If the play count is not set before you start playing the clip, a default of 1 will be used.
Availability:
First available in version 3.0 build 2039.
Input Parameters:
count - If the count is set to a value less than 1, the clip plays repeatedly, restarting as soon as it reaches the end.
Output Parameters:
No output parameters.
Asynchronous Mode:
When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.
ssCore.WMAudio.setPlayCount( paramsObject [, callbackParamsObject] [, errorParamsObject] );
Synchronous Mode:
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
var returnObject = ssCore.WMAudio.setPlayCount( paramsObject );
Notes:
None.
Examples:
ssCore.WMAudio.setPlayCount({count:2});