ssCore.Flash.loadMovie

Load a new root Flash movie.


Availability:

First available in version 3.0 build 2039.

Not available in ActionScript 3.


Input Parameters:

path - Path to the SWF file to be loaded. This parameter supports monikers.

resize - [Optional] - A boolean value that determines whether the window should be resized to match the loaded SWF file (default is true) Valid values include: true and false.

center - [Optional] - A boolean value that determines whether the window should be centered after the new SWF file is loaded (default is true) Valid values include: true and false.

centerOnPrimaryDisplay - [Optional] - A boolean value that specifies whether the centering operation should center the application window on the primary display or use virtual screen coordinates available with multiple monitors (default is true). Valid values include: true and false.

visible - [Optional] - A boolean value that specifies whether the window should be visible after loading the new movie (default is true). Valid values include: true and false.


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


Notes:


Examples:

ssCore.Flash.loadMovie({path:"startdir://file.swf"});