# Help with Applying an "embroidered" effect to text or a "stroke"

**URL:** <https://forum.kirupa.com/t/help-with-applying-an-embroidered-effect-to-text-or-a-stroke/225012>\
**Category:** flash\
**Created:** [May 8, 2007, 3:09am UTC](https://forum.kirupa.com/t/help-with-applying-an-embroidered-effect-to-text-or-a-stroke/225012 "2007-05-08T03:09:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwiley63](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@mwiley63](https://forum.kirupa.com/u/mwiley63)\
**Post date:** [May 8, 2007, 3:09am UTC](https://forum.kirupa.com/t/help-with-applying-an-embroidered-effect-to-text-or-a-stroke/225012/1 "2007-05-08T03:09:58Z")

</div>

I need to apply an embroidered look to dynamic text. Right now I am using a dropshadow filter on the text box with the following line of code:

var hexNum:Number = 0x990000;  
var dropShadow:DropShadowFilter = new DropShadowFilter(0, 0, hexNum, 100, 2, 2, 1000, 3);  
emb.filters = [dropShadow];

however, I can’t get it to look like the target embroidery that I am going for. The problem is the dropshadow class is rounding off some corners that a normal embroidery trim would not. I have also submitted my fla with a TFF in a zip (the font is important here, to install it look at the bottom of this post) and target picture for the embroidery. Notice on the top left corner of the B in the swf, the trim around it is rounded off. On the picture it is a perfect 90 degree corner. How can I fix this?

To install a TFF, put it in your system/fonts folder. On windows this is found under windows/fonts, once it is placed in there start up flash and you should now have Yearbook Solid as a font.
