# AS Text Animation - Can HTML Format Be Kept?

**URL:** <https://forum.kirupa.com/t/as-text-animation-can-html-format-be-kept/318229>\
**Category:** Uncategorized\
**Created:** [January 13, 2011, 9:16pm UTC](https://forum.kirupa.com/t/as-text-animation-can-html-format-be-kept/318229 "2011-01-13T21:16:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashgroove](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Post date:** [January 13, 2011, 9:16pm UTC](https://forum.kirupa.com/t/as-text-animation-can-html-format-be-kept/318229/1 "2011-01-13T21:16:39Z")

</div>

I am working on some text animations using ActionScript (3.0).

The type of animations that I want require tweening each character of the text. Therefore, the way I want to do this is to break apart the text string, create a text field for each character, put it into a sprite, position the sprite so that the characters form a linear text and then tween the individual character sprites.

But the problem is if I have an HTML string of text. If I try to break apart the string, then the HTML tags will break and they will be animated as if part of the text ?

Is there another way of achieving this type of character by character animation ?

Is there a way in which the HTML formatted text can be kept ?
