
236 Flix Engine Linux Module Documentation
5.52.5.27 on2sc swf_options_SetLoopCount (FLIX2HANDLE flix, const int32_t loopCount)
Sets the number of times the SWF should loop.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← loopCount The number of times the SWF should loop.
Return values:
ON2_OK Success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
Note:
The default value is 0.
Setting this to a value >0 will have the SWF ignore the loop command of the Flash player.
See also:
swf_options_GetLoopCount()
Deprecated
Use the Muxer Interface along with FE2_MUXER_SWF and the FE2_SWF_LOOP_COUNT param-
eter. This function will be removed in a future release.
5.52.5.28 on2sc swf_options_SetMovieOnEndOptions (FLIX2HANDLE flix, const
FE2_SwfOnEndOptions onEndOptions)
Sets the options for the end of the SWF.
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
← onEndOptions The options for the end of the SWF.
Return values:
ON2_OK Success
ON2_INVALID_PARAMS should one or more of the preconditions fail
ON2_NET_ERROR the underlying communication layer failed
Precondition:
flix is not NULL
onEndOptions is a valid member of FE2_SwfOnEndOptions
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji