ssCore.Flash.setFlashVars

Set the FlashVars property for any movies loaded after this call.


Availability:

First available in version 3.7 build 197.


Input Parameters:

vars - A URL encoded string containing the variables to be set as the FlashVars.


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.Flash.setFlashVars( 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.Flash.setFlashVars( paramsObject );


Notes:

None.


Examples:

// the variable values MUST be URL encoded
ssCore.Flash.setFlashVars({vars:"name=" + escape("Joe User") + "age=" + escape("21")});