system.load

Return to Introduction  Previous page  Next page

Loads a new document from the specified filename or url.

 

Syntax

 

system.load(filename)

system.load(url)

 

Examples

 

function onClick

{

       system.load("c:\dxstudio\examples\puzzlegame.dxstudio"); // if you click this object, the puzzlegame document will be loaded.

}

 

function onClick

{

       system.load("http://www.dxstudio.com/examples/example1.dxstudio"); // if you click this object, the example1 document will be streamed from the specified URL.

}

 

 

Remarks

 

The new document will be loaded in place of the current one.

 

See Also

 

System



Copyright ©2004 Worldweaver Ltd. DX Studio Home