Featured Site
» Posted in the Flash Kit Links section
» Title: 3D Jobs
» Description: Free job forum for jobs in Films, Video Games, Multimedia and jobs in flash animation and scripting.
2. Open the library Panel, and create a new Font...(click on the button on the right upper corner on the library Panel).
3. Choose the font that you like to use, and name it whatever you like.
4. Now, choose the font symbol, right click, and choose linkage.
5. Enter an identifier for the font (You will need it later...) and choose "Export for ActionScript".
6. At the first frame "Layer 1", press F9 for ActionScript panel, and insert this code:
_root.createTextField("my_txt", 0, 50, 50, 450, 100);
my_txt.text = "Smooth alpha capable dynamic text";
my_txt._quality("BEST")
my_txt.multiline = true;
my_txt.selectable = false; // as your wish...
my_txt.wordWrap = true;
my_txt.embedFonts=true;
// We need a TextFormat object to set format to our textfield
my_fmt = new TextFormat();
//Now we choose the font, using the identifier name of the font symbol
my_fmt.font = "myFont";
my_fmt.size = 28;
my_fmt.color = "0x999999";
//now we apply the format...
my_txt.setTextFormat(my_fmt);
my_txt._alpha = "100"; // whatever you want...