Text2Curve.redraw()

Availability

Flash Player 7.

Usage

my_text2curve.redraw() : Void;

Parameters

None.

Returns

Nothing.

Description

Method; Updates a Text2Curve object on the screen.
Normally it is used after changing some of parameters (e.g. text, color etc).

Example

The following code creates a new Text2Curve based on newly created movie clip. Then it changes the text and updates the picture.

var mbc:MovieClip = _root.createEmptyMovieClip("new_clip_mc", _root.getNextHighestDepth());
var my_t2c:Text2Curve = new Text2Curve("Hello, World!", "", 24, "cc00cc", "wave_sine", {a:50,b:1,c:0,d:0}, true, mbc);
my_t2c.userText = "Some new text to display";
my_t2c.redraw();