Text2Curve.curveParam

Availability

Flash Player 7.

Usage

my_text2curve.curveParam : Object;

Description

Property; an Object containing parameters for the curve. It can contain maximum of 4 parameters: a, b, c, d.
The meaning of each parameter depends on the type of a curve. Here are 3 types currently available:

Example

The following code creates a new Text2Curve based on newly created movie clip. The text is placed along the inner side of a round arc. Then it traces the radius of the arc.

var mbc:MovieClip = _root.createEmptyMovieClip("new_clip_mc", _root.getNextHighestDepth());
var my_t2c:Text2Curve = new Text2Curve("Hello, World!", "", 24, "cc00cc", "arc_round", {a:50,b:1,c:0,d:0}, true, mbc);
trace("radius of the arc r = " + my_t2c.curveParam["a"]); 
// output: radius of the arc r = 50