| Layout.as | |
| events | |
| org. | This class represents a layout which is an object called silexLayout created at run time at the root of each layout. |
| silex_ptr | reference to silex main Api object (org.silex.core.Api) |
| layers | |
| layerContainers | |
| defaultIcon | |
| layouts | |
| layoutFileName | |
| anims | |
| layoutContainer | |
| currentChildLayoutContainer | |
| currentChildLayoutContainerIndex | |
| deeplinkName | Name of the page deep link. |
| isContentVisible | is content visible? |
| seo | keywords description isAutomaticSeoActive |
| isDirty | set by propeties tool box when a property has been changed |
| xml data | |
| _xml | |
| xmlFileName | |
| sectionName | |
| cleanSectionName | |
| xmlLoaded_bool | |
| initDone_bool | |
| dom | |
| domOutOfContext | |
| registeredVariables | Store the dynamic data. |
| dbdata_obj | |
| Layout | |
| xmlConnect | |
| amfConnect | |
| xmlLoaded | Called by _xml when xml data is loaded. |
| amfLoaded | |
| init | |
| close | Close the layout |
| closeChild | close children and then start the close transition anim |
| transitionCloseStop | the tracition close anim is over |
| transitionCloseStart | the tracition close anim started |
| unloadLayoutCallback | the close anim ended |
| doUnloadLayoutCallback | |
| endAnimPreload | called by org.silex.core.Sequencer when preload anim ends |
| startAnimShow | called by org.silex.core.Sequencer when show anim ends |
| endAnimShow | called by org.silex.core.Sequencer when show anim ends |
| registerAnim | has to be called on the 1st frame of a layout |
| registerLayerContainer | Called by the layout. |
| loadRegisteredLayer | |
| registerLayer | Called by the org.silex.ui.Layer class before all players have been initialized. |
| registeredLayerAllPlayersLoaded | Called by the org.silex.ui.Layer class after all players have been initialized. |
| registerLayoutContainer | Called by the child layout component. |
| registerDefaultIcon | |
| unRegisterDefaultIcon |
mx.core.UIObject |
org.silex.core.Layout |
This class represents a layout which is an object called silexLayout created at run time at the root of each layout. Handle the loading process of the xml data. In the repository : /trunk/core/Layout.as
1
Alexandre Hoyau
| silex_ptr | reference to silex main Api object (org.silex.core.Api) |
| layers | |
| layerContainers | |
| defaultIcon | |
| layouts | |
| layoutFileName | |
| anims | |
| layoutContainer | |
| currentChildLayoutContainer | |
| currentChildLayoutContainerIndex | |
| deeplinkName | Name of the page deep link. |
| isContentVisible | is content visible? |
| seo | keywords description isAutomaticSeoActive |
| isDirty | set by propeties tool box when a property has been changed |
| xml data | |
| _xml | |
| xmlFileName | |
| sectionName | |
| cleanSectionName | |
| xmlLoaded_bool | |
| initDone_bool | |
| dom | |
| domOutOfContext | |
| registeredVariables | Store the dynamic data. |
| dbdata_obj | |
| Layout | |
| xmlConnect | |
| amfConnect | |
| xmlLoaded | Called by _xml when xml data is loaded. |
| amfLoaded | |
| init | |
| close | Close the layout |
| closeChild | close children and then start the close transition anim |
| transitionCloseStop | the tracition close anim is over |
| transitionCloseStart | the tracition close anim started |
| unloadLayoutCallback | the close anim ended |
| doUnloadLayoutCallback | |
| endAnimPreload | called by org.silex.core.Sequencer when preload anim ends |
| startAnimShow | called by org.silex.core.Sequencer when show anim ends |
| endAnimShow | called by org.silex.core.Sequencer when show anim ends |
| registerAnim | has to be called on the 1st frame of a layout |
| registerLayerContainer | Called by the layout. |
| loadRegisteredLayer | |
| registerLayer | Called by the org.silex.ui.Layer class before all players have been initialized. |
| registeredLayerAllPlayersLoaded | Called by the org.silex.ui.Layer class after all players have been initialized. |
| registerLayoutContainer | Called by the child layout component. |
| registerDefaultIcon | |
| unRegisterDefaultIcon |
function xmlLoaded( success: Boolean )
Called by _xml when xml data is loaded. Create the dom object corresponding to the xml data. Load layers objects in the registered layerContainers. Push the show anim in the sequencer.
| target_mc | movie clip in which the section (the layout) is loaded |
function registerLayoutContainer( layoutContainer_mc: MovieClip )
Called by the child layout component. The target will contain the child layouts. It has to be called on the 1st frame of a layout. org.silex.core.Application openSection can create one automatically at the layout root.
reference to silex main Api object (org.silex.core.Api)
private var silex_ptr: org.silex.core.Api
var layers: Array
var layerContainers: Array
var defaultIcon
var layoutFileName: String
var anims: Array
var layoutContainer: MovieClip
var currentChildLayoutContainer: MovieClip
var currentChildLayoutContainerIndex: Number
Name of the page deep link.
var deeplinkName: String
is content visible?
var isContentVisible: Boolean
set by propeties tool box when a property has been changed
var isDirty: Boolean
var _xml: XML
var xmlFileName: String
var sectionName: String
var cleanSectionName: String
var xmlLoaded_bool: Boolean
var initDone_bool: Boolean
var dom: Object
var domOutOfContext: Object
Store the dynamic data.
var registeredVariables: Array
var dbdata_obj: Object
function Layout( api: org.silex.core.Api, parent: MovieClip, sectionName_str: String, layoutFileName_str: String, deeplinkName_str: String )
function xmlConnect()
function amfConnect()
Called by _xml when xml data is loaded.
function xmlLoaded( success: Boolean )
function amfLoaded( resultObj: Object )
function init()
Close the layout
function close()
close children and then start the close transition anim
function closeChild()
the tracition close anim is over
function transitionCloseStop()
the tracition close anim started
function transitionCloseStart()
the close anim ended
function unloadLayoutCallback()
function doUnloadLayoutCallback()
called by org.silex.core.Sequencer when preload anim ends
function endAnimPreload()
called by org.silex.core.Sequencer when show anim ends
function startAnimShow()
called by org.silex.core.Sequencer when show anim ends
function endAnimShow()
has to be called on the 1st frame of a layout
function registerAnim ( target_mc: MovieClip, animName_str: String )
Called by the layout.
function registerLayerContainer( layerContainer: MovieClip, layerName_str: String )
function loadRegisteredLayer( layerContainer: MovieClip )
Called by the org.silex.ui.Layer class before all players have been initialized.
function registerLayer( target_mc: org.silex.ui.Layer )
Called by the org.silex.ui.Layer class after all players have been initialized.
function registeredLayerAllPlayersLoaded( ev: Object )
Called by the child layout component.
function registerLayoutContainer( layoutContainer_mc: MovieClip )
function registerDefaultIcon( player: org.silex.ui.players.PlayerBase )
function unRegisterDefaultIcon( player: org.silex.ui.players.PlayerBase )