Text2Curve.baseClip

Availability

Flash Player 7.

Usage

my_text2curve.baseClip : MovieClip;

Description

Read-only property; reference to a movie clip object on the stage.
While this property cannot be modified at runtime, for new objects created dynamically with constructor, you can define it as a parameter passed to the constructor. If no parameter was passed, new movie clip is created at _root level. The reference to this movie clip can be accessed later as Text2Curve.baseClip property. This movie clip then can be used to dynamically move, scale or rotate text group.

Example

The following code creates a new Text2Curve based on newly created movie clip. Then it traces a path to base movie clip.

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);
trace("base clip is: " + my_t2c.baseClip); 
// output: base clip is: _level0.new_clip_mc