Package | org.flowplayer.view |
Interface | public interface Styleable |
Implementors | StyleableSprite |
Method | Defined 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 |
animate | () | method |
public function animate(styleProps:Object):Object
Animates css properties.
ParametersstyleProps: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.
|
Object — the style props after setting the new properties
|
css | () | method |
public function css(styleProps:Object = null):Object
Sets/adds css style properties.
ParametersstyleProps: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.
|
Object — the style props after setting the new properties
|
onBeforeAnimate | () | method |
public function onBeforeAnimate(styleProps:Object):void
Notifies a css properties animation.
ParametersstyleProps: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.
ParametersstyleProps: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.
|