how to use the Drop Shadow prototype

  1. Import the AS_createDropShadow.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 = "Zatoichi";
    	setTextFormat(tfPink);
    }
  4. Use the createDropShadow method to add a Drop Shadow
    Specify
    1. Text Format
    2. Horizontal Off-Set
    3. Vertical Off-Set
    var oDS = oTF.createDropShadow(tfDS0, 3, 2);