mx.core.UIComponent |
org.silex.toolbox.Toolbox |
A toolbox base
| org. | A toolbox base |
| Variables | |
| silex_ptr | |
| TOP_ZONE | |
| LEFT_ZONE | |
| BOTTOM_ZONE | |
| RIGHT_ZONE | |
| minWidth | |
| minHeight | |
| minimized | |
| list | |
| topBarBg_mc | |
| drag_btn | |
| resize_btn | |
| minimize_btn | |
| close_btn | |
| shape_mc | |
| ui_mc | |
| parentToolbox | |
| clipZone | |
| listener | |
| storedInfoSO | shared object used to remember tool data |
| title | |
| Functions | |
| Toolbox | Constructor. |
| allToolsLoaded | |
| onLoad | |
| Variables | |
| _isToolBox | |
| Functions | |
| isToolBox | |
| setInitialPosition | |
| startDrag | Start the drag and drop event |
| unClip | |
| stopDrag | Stop the drag and drop event |
| startResize | Start the resize event |
| stopResize | Stop the resize event |
| refresh | A do-nothing implementation of the Toolbox interface’s refresh() method. |
| getSelectedContent | A do-nothing implementation of the Toolbox interface’s getSelectedContent() method. |
| resize | To resize the toolbox and to re-place button, shape and mcs elements |
| zoom | Apply a scale setting of _xscale and _yscale toolbox’s values |
| minimize | make UIs disappear, leave drag zone and minimize_btn get the initial size back in currentWidth and currentHeight |
| maximize | set resize with currentWidth and currentHeight properties |
| clipTo | Move this to according position to an other movie clip and its shape zone hit Directly calculate the 4 shape’s zone and place this on the correct position |
| followTo |
private var silex_ptr
public var TOP_ZONE: Number
public var LEFT_ZONE: Number
public var BOTTOM_ZONE: Number
public var RIGHT_ZONE: Number
public var minWidth: Number
public var minHeight: Number
public var minimized: Boolean
public var list: List
public var topBarBg_mc: MovieClip
public var drag_btn: MovieClip
public var resize_btn: MovieClip
public var minimize_btn: MovieClip
public var close_btn: MovieClip
public var shape_mc: MovieClip
public var ui_mc: MovieClip
public var parentToolbox: Toolbox
public var clipZone: Number
public var listener: Object
shared object used to remember tool data
static var storedInfoSO: SharedObject
var title: String
Constructor.
public function Toolbox()
function allToolsLoaded()
function onLoad()
var _isToolBox: Boolean
function isToolBox():Boolean
function setInitialPosition()
Start the drag and drop event
private function startDrag():Void
function unClip()
Stop the drag and drop event
private function stopDrag():Void
Start the resize event
private function startResize():Void
Stop the resize event
private function stopResize():Void
A do-nothing implementation of the Toolbox interface’s refresh() method.
public function refresh():Void
A do-nothing implementation of the Toolbox interface’s getSelectedContent() method.
public function getSelectedContent():Array
To resize the toolbox and to re-place button, shape and mcs elements
public function resize( w: Number, h: Number ):Void
Apply a scale setting of _xscale and _yscale toolbox’s values
public function zoom( zscale: Number ):Void
make UIs disappear, leave drag zone and minimize_btn get the initial size back in currentWidth and currentHeight
public function minimize():Void
set resize with currentWidth and currentHeight properties
public function maximize():Void
Move this to according position to an other movie clip and its shape zone hit Directly calculate the 4 shape’s zone and place this on the correct position
public function clipTo( tb: Toolbox, clipZone_num: Number ):Void
public function followTo():Void