Home
setFade(fade:Boolean):void
Default is “false”.
If “false”, the children of a button are visible immediatly at rollOver (if setFadeInOnMouseOver is “true”) or release (when the button is clicked). No onMouseOver event is dispatched.
If “true”, the onMouseOver event is dispatched, where you have to handle the fading in of the children buttons by yourself.
setFadeInOnMouseOver(fade:Boolean):void
Default is “true”.
Note: If you use the xml attribute
btnMakeRoomY, set this to “false”: setFadeInOnMouseOver(false). The combination is not (yet) working as expected!
getFadeInOnMouseOver():Boolean
setFadeInDepth(value:String)
setFadeOutTimerDelay(delay:Number):void
setFadeInChainDelay(delay:Number):void
Defauklt is “0”.
The time the children of a button wait before the fade in when a deeplink is active. This is usefull if you have a longer animation for fading in buttons, to have a more sequential over all animation.
See examples, select example Nr. 8 and click on “Deeplink-Demo” at the bottom.
setKeepRolloverStatus(value:Boolean)
getKeepRolloverStatus():Boolean
setAlwaysHideChildren(value:Boolean)
getAlwaysHideChildren():Boolean
setBtnDepths(rollOutDepth:String, rollOverDepth:String, pressDepth:String, releaseDepth:String)
getBtnsByID(idArr:Array = null):Array
// Example:
var b:Array = navigationManager.getBtnsByID(["b0","b1_0","b1_1_0"]);
trace(b[0].btnSize)
trace(b[1].initX)
trace(b[2].makeRoomY)
getSiblings(btnID:String):Array
getParent(btnID:String):Object
getChildren(btnID:String):Array
activateBtn(btnID:String, dispatch:Boolean = true):void
Activates a button. If dispatch is “false”, only the button status will change, but no event will be dispatched. This is required for example when a deeplink is fired and the content is already loading, the button has to reflect the change but should not activate anything. Espacially in
Gaia this is usefull, because there the button only reacts to the “goto” event.
getBranchForGaia(btnID:String):String
Needed for
Gaia projects. There are situations where you need the branches. See the
documentation for more info.
activateBtnByPageID(pageID:String, dispatch:Boolean = false):NavigationButton
Needed for
Gaia projects. There are situations where you need the pages. See the
documentation for more info.
getBtnsContainer():MovieClip