Flash Prototypes: Text Outline
I made this 6 years 26 weeks ago
how to use the TextOutLine prototype
- Import the as_createoutline.as ActionScript file
- Create a movie-clip, and text-area dynamically
var oMC = _root.createEmptyMovieClip("oMC", getNewDepth()); var oTF = oMC.createTextField("oTF", getNewDepth(), 0, 0, 20, 20); - Set text attributes and add the Text Format object
with (oTF) { autoSize = "left"; text = "Jaime Murray is absolutely stunning in Hustle"; setTextFormat(tfPink); } - Use the createDropShadow method to add a Drop Shadow
Specify the Text Format for the outline
var oTOL = oTF.createOutline(tfBlack);
