qnx.fuse.ui.skins.animation.FadeInOverTransition

FadeInOverTransition

Methods


Packageqnx.fuse.ui.skins.animation
Classpublic class FadeInOverTransition
InheritanceFadeInOverTransition Inheritance flash.events.EventDispatcher
Implements ITransition

A transition that fades in the new state on top of the old one, and then sets the old state's alpha to 0 once the fade in is complete.

Class information:
BlackBerry 10 Version:   10.0.0



Public Methods

 MethodDefined By
  
FadeInOverTransition(duration:Number = -1)
Creates a new FadeInOverTransition
FadeInOverTransition
  
complete():void
Sets the alpha of the new skin to 1 and the alpha of the old skin to 0.
FadeInOverTransition
  
execute(currentSkin:DisplayObject, nextSkin:DisplayObject):void
FadeInOverTransition

Constructor Detail

FadeInOverTransition()


public function FadeInOverTransition(duration:Number = -1)

Creates a new FadeInOverTransition

Parameters

duration:Number (default = -1) — The duration of the transition. If no duration is passed in then the standard duration of 0.3 seconds is used.

Method Detail

complete()


public function complete():void

Sets the alpha of the new skin to 1 and the alpha of the old skin to 0.

See also

ITransition.complete

execute()


public function execute(currentSkin:DisplayObject, nextSkin:DisplayObject):void

Parameters

currentSkin:DisplayObject — The skin to transition from.
nextSkin:DisplayObject — The new skin to transition to.





comments powered by Disqus