//文字描边效果var tf1 = _root.createTextField("tf1", _root.getNextHighestDepth(), 10, 10, 0, 0);tf1.autoSize = true;tf1.text = "AS描边文字效果演示";tf1.textColor = 0xFFFF00;var myGlowFilter = new flash.filters.GlowFilter(0x000000, 1, 2, 2, 10, 1, false, false);var myFilters:Array = tf1.filters;myFilters.push(myGlowFilter);tf1.filters = myFilters;//文字阴影效果var tf2 = _root.createTextField("tf2", _root.getNextHighestDepth(), 10, 30, 0, 0);tf2.autoSize = true;tf2.text = "AS阴影文字效果演示";tf2.textColor = 0x000000;var myDropFilter = new flash.filters.DropShadowFilter(1, 45, 0xFFFFFF, 1, 1, 1, 10, 1, false, false);var myFilters2:Array = tf2.filters;myFilters2.push(myDropFilter);tf2.filters = myFilters2;