JLoadPane, a container load a external image/animation to be its floor.
new JLoadPane()
public function JLoadPane(path:String, prefferSizeStrategy:Number)
JLoadPane(path:String, prefferSizeStrategy:Number)
JLoadPane(path:String) prefferSizeStrategy default to PREFER_SIZE_BOTH
JLoadPane() path default to null,prefferSizeStrategy default to PREFER_SIZE_BOTH
Creates a JLoadPane with a path to load external image or animation file.
path | the path of the extenal image/animation file. |
prefferSizeStrategy | the prefferedSize count strategy. Must be one of below: |
static public ON_LOAD_COMPLETE:String
static public ON_LOAD_ERROR:String
static public ON_LOAD_INIT:String
static public ON_LOAD_PROGRESS:String
static public ON_LOAD_START:String
public function getFloorMC():MovieClip
Returns the loaded target movieclip.
the loaded target movieclip.
getFloorMC() in org.aswing.FloorPane