Google Flix Engine Linux Reference Manual User Manual

Page 247

Advertising
background image

5.52 SWF

241

5.52.5.35

on2sc swf_options_UpdateVariable (FLIX2HANDLE flix, const int32_t index, const char
∗ name, const char ∗ value)

Updates an already existing SWF variable.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← index The zero based index of the variable to update.

← name The name of the variable.

← value The value of the variable.

Return values:

ON2_OK

Success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NO_MEM

an error occurred reallocating memory for the variable list.

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

name

is not NULL

value

is not NULL

index

is inside the range of current variables

See also:

swf_options_AddVariable()

,

swf_options_DeleteVariable()

,

swf_options_GetVariableCount()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_ADD_VARIABLE

pa-

rameter. 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