org.silex.toolbox.Layers |
Layers toolbox
| org. | Layers toolbox |
| Variables | |
| REFRESH_INTERVAL_MS | |
| Functions | |
| Layers | |
| Variables | |
| listListener | |
| intervalIdx | |
| Functions | |
| onLoad | |
| onUnload | |
| iconFunction | |
| layoutLoaded | |
| layoutUnLoaded | |
| refresh | |
| getSelectedContent | Function used to retrieve the selected layers. |
| change | Function change. |
| show | show selected layers (set all players isVisible attribute to true) To list all players associated at the current layers and use setVisible method with true. |
| hide | hide selected layers (set all players isVisible attribute to false) To list all players associated at the current layers and use setVisible method with false |
| solo | show only selected layer (set all players isVisible attribute to false except for the selected players) To list all layers and set isVisible to false for the layers not selected |
| apply | apply the modifications (call silex save method and set all players editable attribute to false) Check the mc layer selected reference and pass to core.save method To list all players associated at the current layers and set editable property to false |
| addFromLibrary | add the medias which are selected in the library. |
| addFromUrl | function url. |
| addFromUrlCbkFunction | |
| addFromText | addComponentFromUrl and addComponentFromUrlCbk call org.silex.ui.Layer.addComponent |
static var REFRESH_INTERVAL_MS: Number
public function Layers()
var listListener: Object
var intervalIdx: Number
public function onLoad()
function onUnload()
function iconFunction( item: Object )
function layoutLoaded( ev: Object )
function layoutUnLoaded ( ev: Object )
public function refresh( doDispatch: Boolean )
Function used to retrieve the selected layers.
public function getSelectedContent():Array
Function change.
public function change( evt_obj: Object ):Void
show selected layers (set all players isVisible attribute to true) To list all players associated at the current layers and use setVisible method with true.
public function show( idx: Number ):Void
hide selected layers (set all players isVisible attribute to false) To list all players associated at the current layers and use setVisible method with false
public function hide( idx: Number ):Void
show only selected layer (set all players isVisible attribute to false except for the selected players) To list all layers and set isVisible to false for the layers not selected
public function solo():Void
apply the modifications (call silex save method and set all players editable attribute to false) Check the mc layer selected reference and pass to core.save method To list all players associated at the current layers and set editable property to false
public function apply():Void
add the medias which are selected in the library.
public function addFromLibrary():Boolean
function url.
public function addFromUrl():Boolean
function addFromUrlCbkFunction( theTextOfTheUser )
addComponentFromUrl and addComponentFromUrlCbk call org.silex.ui.Layer.addComponent
public function addFromText():Boolean