ssCore.Splash.loadImage

Load a new image into the splash screen.


Availability:

First available in version 3.7 build 197.


Input Parameters:

resource - A fully qualified path to an image file or the path to a resource in the layout. If path is an image resource that was not auto-extracted at starup, it will be extracted automatically. This parameter supports monikers.


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


Notes:

None.


Examples:

Load an image into the splash screen from the file system

ssCore.Splash.loadImage({resource:"startdir://static.jpg"});

Load an image into the splash screen from the Files Tab

ssCore.Splash.loadImage({resource:"\\static.jpg"});

Load a SWF into the splash screen from the file system

ssCore.Splash.loadImage({resource:"startdir://splash.swf"});

Load a SWF into the splash screen from the Files Tab

ssCore.Splash.loadImage({resource:"\\splash.swf"});