Featured FLA
» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden
Featured Site
» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.
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...