Class template.Page

Description

This class serves as an 'adapter' class that manages the loading, unloading, intro and outro of the externally loaded SWF files.

The following events are dispatched by this class:

DisplayObjectInit - dispatched when the loaded SWF file has been initialized.

DisplayObjectEnter - dispatched when the loaded SWF file has executed its enter function.

DisplayObjectExit - dispatched when the loaded SWF file has executed its exit function.

Field Index

xmlFile

Inherited from DisplayObject

Method Index

new Page()
exit(), loadFile()

Inherited from DisplayObject

Constructor Detail

Page

public function Page()

The constructor.

Field Detail

xmlFile

public xmlFile:String [Write Only]
Use this property to set the XML file that is to be loaded once an external file is done loading.

Method Detail

loadFile

public function loadFile(str:String)

Call this function to load an external SWF file into it.

Parameters

str- the path of the SWF file to be loaded

exit

public function exit()