org.silex.toolbox.Layers

org.silex.toolbox.Layers

Layers toolbox

Summary
org.silex.toolbox.LayersLayers toolbox
Variables
REFRESH_INTERVAL_MS
Functions
Layers
Variables
listListener
intervalIdx
Functions
onLoad
onUnload
iconFunction
layoutLoaded
layoutUnLoaded
refresh
getSelectedContentFunction used to retrieve the selected layers.
changeFunction change.
showshow selected layers (set all players isVisible attribute to true) To list all players associated at the current layers and use setVisible method with true.
hidehide selected layers (set all players isVisible attribute to false) To list all players associated at the current layers and use setVisible method with false
soloshow 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
applyapply 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
addFromLibraryadd the medias which are selected in the library.
addFromUrlfunction url.
addFromUrlCbkFunction
addFromTextaddComponentFromUrl and addComponentFromUrlCbk call org.silex.ui.Layer.addComponent

Variables

REFRESH_INTERVAL_MS

static var REFRESH_INTERVAL_MS: Number

Functions

Layers

public function Layers()

Variables

listListener

var listListener: Object

intervalIdx

var intervalIdx: Number

Functions

onLoad

public function onLoad()

onUnload

function onUnload()

iconFunction

function iconFunction(item: Object)

layoutLoaded

function layoutLoaded(ev: Object)

layoutUnLoaded

function layoutUnLoaded (ev: Object)

refresh

public function refresh(doDispatch: Boolean)

getSelectedContent

public function getSelectedContent():Array

Function used to retrieve the selected layers.

change

public function change(evt_obj: Object):Void

Function change.

show

public function show(idx: Number):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.

hide

public function hide(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

solo

public function solo():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

apply

public function apply():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

addFromLibrary

public function addFromLibrary():Boolean

add the medias which are selected in the library.  Call the getSelectedContent of library toolbox to check the return media url value.  Then to call addMedia method of selected layer and recover the boolean returned for validate

addFromUrl

public function addFromUrl():Boolean

function url.

addFromUrlCbkFunction

function addFromUrlCbkFunction(theTextOfTheUser)

addFromText

public function addFromText():Boolean

addComponentFromUrl and addComponentFromUrlCbk call org.silex.ui.Layer.addComponent

A toolbox base
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)
public function getSelectedContent():Array
Function used to retrieve the selected layers.
public function change(evt_obj: Object):Void
Function change.
public function show(idx: Number):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 hide(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 solo():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 apply():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 addFromLibrary():Boolean
add the medias which are selected in the library.
public function addFromUrl():Boolean
function url.
function addFromUrlCbkFunction(theTextOfTheUser)
public function addFromText():Boolean
addComponentFromUrl and addComponentFromUrlCbk call org.silex.ui.Layer.addComponent