Home » Flash

Adding Word wrap to dynamic text in Flash

14 January 2009 No Comment

Theres an easy way to add word wrap to a dynamic text in Flash. You will need to edit the Action Script in order to add this since its not an option in the GUI.
For instance, if your variable name was “title”, add in a line with:
title.wordWrap = true;

to enable the word wrap for that variable name. Its really handy for variable length fields.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.