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:Stringstatic public ON_LOAD_ERROR:Stringstatic public ON_LOAD_INIT:Stringstatic public ON_LOAD_PROGRESS:Stringstatic public ON_LOAD_START:Stringpublic function getFloorMC():MovieClipReturns the loaded target movieclip.
the loaded target movieclip.
getFloorMC() in org.aswing.FloorPane