ActiveDen

Text Along Curve Package

The Text Along Curve Package consists of a design tool and a file which shows an example of use in real project. You can use the designer tool to create your curve and enter your text. You can place a background image that will serve as a guide. In my tool I placed an example background with three colored curves. The designer allows you to:


- add html text in the text input field. this demo file uses “Verdana” font. you must include the face attribute in your HTML text and set it to “Verdana”. Other fonts can be used if you embed them – this is described in the READ _ME.txt file.
- add/drag/remove control points for the bezier curve.
- drag the start and end points of the curve.
- set left or right alignment.

When you are done with the design you can copy the code from the code text field. This code can be used in your real project. The example_of_use.fla file included in the package shows how this can be done. Basically you drop an instance of a movie from the library, name it and use the code copied from the designer.

Some things you should know:
- in order to use special characters you must embed them.
- it is best to design curves long enough to place your text along them – if curves are shorter some undesired effects can occur.
- very small font sizes like 1,2 or 3 can lead to undesired effects.
- very large font sizes can sometimes result in some letters not perfectly oriented along the curve.
- all coordinates are based on the movie clips’ registration point. so you can put the curved_html_text_mc in your main in 0,0 coordinates. if you put it somewhere else there will be offset.
- you can use more than one curved_html_text_mc in your project – name the instances with different names and call the show_text function with different parameteres.
- in some cases the text does not calculate very well on the curve – make little adjustments in control points positions to gain smoother experience.
- you can create curves with more than 2 control points.

Any suggestions will be appreciated.

by
by
by
by
by