method openScene

scene openScene(string boxURL,object parentScene,string sceneName,object paramsDictionary,object sceneListener,bool isModal);

Argumente

Zurückgegebener Wert

This method opens a given box file. The method returns a scene object. The dictionary can also use the following built-in keys:
function onLaunchSample()
{
    var boxFile = "../content/sample.box";
    var scn = shell.openScene(boxFile, scene, "Sample", null, null, false);
    if (scn)
    {
        shell.print(scn.url);
    }
}