Flash Prototypes: Text Outline

I made this 14 years 33 weeks ago

how to use the TextOutLine prototype

  1. Import the as_createoutline.as ActionScript file
  2. Create a movie-clip, and text-area dynamically
    var oMC = _root.createEmptyMovieClip("oMC", getNewDepth());
    var oTF = oMC.createTextField("oTF", getNewDepth(), 0, 0, 20, 20);
  3. Set text attributes and add the Text Format object
    with (oTF)
    	autoSize = "left";
    	text = "Jaime Murray is absolutely stunning in Hustle";
  4. Use the createDropShadow method to add a Drop Shadow

    Specify the Text Format for the outline

    var oTOL = oTF.createOutline(tfBlack);