Class caurina.transitions.properties.TextShortcuts

Method Index

new TextShortcuts()
_generic_color_splitter(), _text_get(), _text_preProcess(), _text_set(), _textFormat_property_get(), _textFormat_property_set(), init()

Constructor Detail

TextShortcuts

public function TextShortcuts()

There's no constructor.

Method Detail

init

static public function init():Void

Registers all the special properties to the Tweener class, so the Tweener knows what to do with them.

_text_get

static public function _text_get(p_obj:Object, p_parameters:Array, p_extra:Object):Number

Returns the current frame number from the movieclip timeline

Parameters

p_objObject MovieClip object

Return

Number The current frame

_text_set

static public function _text_set(p_obj:Object, p_value:Number, p_parameters:Array, p_extra:Object):Void

Sets the timeline frame

Parameters

p_objObject MovieClip object
p_valueNumber New frame number

_text_preProcess

static public function _text_preProcess(p_obj:Object, p_parameters:Array, p_originalValueComplete:Object, p_extra:Object):Number

_generic_color_splitter

static public function _generic_color_splitter(p_value:Number, p_parameters:Array):Array

A generic color splitter - from 0xrrggbb to r, g, b with the name of the parameters passed

Parameters

p_valueNumber The original _color value

Return

Array An array containing the .name and .value of all new properties

_textFormat_property_get

static public function _textFormat_property_get(p_obj:Object, p_parameters:Array):Number

Generic function for the textformat properties

_textFormat_property_set

static public function _textFormat_property_set(p_obj:Object, p_value:Number, p_parameters:Array):Void