Swf_options_getmovieonendoptions, Swf_options_getloopcount – Google Flix Engine Linux Reference Manual User Manual

Page 231

Advertising
background image

5.52 SWF

225

ON2_NO_MEM

pLoadMovieOnEndUrl

does not have enough allocated space to return the URL.

The size in bytes needed (minus null terminator) will be returned in len.

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

len

is not NULL

Note:

If pLoadMovieOnEndUrl is NULL this function will return the size in bytes required to store the current
URL in len, not including the null terminator.

See also:

swf_options_SetLoadMovieOnEndUrl()

Attention:

Currently only supported in C/C++

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_ON_END_URL

param-

eter. This function will be removed in a future release.

5.52.5.10

on2sc swf_options_GetLoopCount (FLIX2HANDLE flix, int32_t ∗ pLoopCount)

Gets the number of times the SWF should loop.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

→ pLoopCount 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

pLoopCount

is not NULL

See also:

swf_options_SetLoopCount()

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.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising