Text2Curve AS3
See Text2Curve Samples or Documentation
Current version: v.3.0.4
Component description:
This is AS3 version of Text2Curve Flash AS2 component .
All the functionality and methods are the same.
Note:
Can be used as a component in Flash CS3 or later.
Resulting movie requires Flash Player 9 or later.
- Constructor now accepts an object (was list of parameters in AS2).
Example:var p_t2c:Object = { }; p_t2c.ut = "Hello, World!"; p_t2c.tFont = "Arial"; p_t2c.tSize = 18; p_t2c.hexColor = 0xcc00cc; p_t2c.ct = "arc_ellipse"; p_t2c.cp = { a:120, b: -1.5, c:0, d:0 }; p_t2c.showLine = true; p_t2c.bc = null; var my_t2c:Text2Curve = new Text2Curve(p_t2c); addChild(my_t2c);
Alternatively, you can pass nothing to constructor, then use properties to set desired parameters and call redraw() method after all.
Please see help files for more info.
Using Text2Curve AS3 in Flex
The ZIP archive (that you purchase) contains MXP package to use with Flash IDE and also a SWC file. It's the same as included within MXP, just doesn't require you to unpack MXP.
Then do as recommended in this article (by C. Moock):
How to Use Flash CS3's V3 Components in Flex Builder
- AS2 and AS3 versions are positioned as separate products.
- If you purchase AS2 version, you can get all updates of AS2 version for free.
- If you purchase AS3 version, you can get all updates of AS3 version for free.
Please contact me if you have any problems using Text2Curve
Known issues:
- Due to new way LivePreview is implemented in Flash CS3/CS4, sometimes text on curve looks cropped in Live Preview mode (within Flash IDE). As you publish it, everything looks OK.