Text2Curve.bold

Availability

Flash Player 7.

Usage

my_text2curve.bold : Boolean;

Description

A Boolean value that indicates whether text is bold.
Default value is false.
Can be modified at runtime, but needs redraw() method to be called after such modification.
This property corresponds to Bold parameter in Component Inspector.
Note: You need to embed the bold version of font to set this parameter to true.

Example

The following code creates a new Text2Curve based on newly created movie clip. Then it makes the text bold.
Assumed that bold version of Arial font is embedded in the movie.

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