Packageorg.flowplayer.view
Interfacepublic interface Styleable
ImplementorsStyleableSprite

Interface for objects that support modifying their display style.



Public Methods
 MethodDefined by
  
animate(styleProps:Object):Object
Animates css properties.
Styleable
  
css(styleProps:Object = null):Object
Sets/adds css style properties.
Styleable
  
onBeforeAnimate(styleProps:Object):void
Notifies a css properties animation.
Styleable
  
onBeforeCss(styleProps:Object = null):void
Notifies new css properties.
Styleable
Method detail
animate()method
public function animate(styleProps:Object):Object

Animates css properties.

Parameters
styleProps:Object — and object containing the properties to be animated. The propertis contained by this object are added, if a specific object already exists it's overwritten.

Returns
Object — the style props after setting the new properties
css()method 
public function css(styleProps:Object = null):Object

Sets/adds css style properties.

Parameters
styleProps:Object (default = null) — and object containing the new properties. The propertis contained by this object are added, if a specific object already exists it's overwritten. If the parameter is not specified returns the current style properties.

Returns
Object — the style props after setting the new properties
onBeforeAnimate()method 
public function onBeforeAnimate(styleProps:Object):void

Notifies a css properties animation.

Parameters
styleProps:Object — and object containing the properties to be animated. The propertis contained by this object are added, if a specific object already exists it's overwritten.
onBeforeCss()method 
public function onBeforeCss(styleProps:Object = null):void

Notifies new css properties.

Parameters
styleProps:Object (default = null) — and object containing the new properties. The propertis contained by this object are added, if a specific object already exists it's overwritten. If the parameter is not specified returns the current style properties.