Was trying to animate a textformat font size with: Actuate.tween(TEMPOEXTRATEXTFORMAT, 2, { size: 130 }, false).delay(0.5);
but it’s a no go, is there a way I can do this with Actuate at all ?
Was trying to animate a textformat font size with: Actuate.tween(TEMPOEXTRATEXTFORMAT, 2, { size: 130 }, false).delay(0.5);
but it’s a no go, is there a way I can do this with Actuate at all ?
Actuate.tween(TEMPOEXTRATEXTFORMAT, 2, { size : 130 }, false).onUpdate (TEMPOEXTRA.defaultTextFormat=TEMPOEXTRATEXTFORMAT);
throws [Fault] exception, information=ReferenceError: Error #1069: Property apply not found on flash.text.TextFormat and there is no default value.
So no go still.
Got it working like this:
Actuate.tween(TEMPOEXTRATEXTFORMAT, 2, { size : 165 }).onUpdate (update_tempo_extra_size, null).delay(0.5);
private inline function update_tempo_extra_size()
{
TEMPOEXTRA.setTextFormat(TEMPOEXTRATEXTFORMAT, 0, 2);
}