Category Archives: coding

Flash Text Metrics

via blog.six4rty.ch I like the article at http://blog.six4rty.ch/2010/07/31/as3-multiline-textfields-and-line-metrics/, mainly because of this graphic. I found it somewhere before long ago (maybe the same place) — it is a big help when dealing with customized text layout situations in flash where you have to do manual baseline aligment and such. Posted via email from micro-plains share:ShareFacebookDiggStumbleUpon

Fix the Focus Rect for fl.controls.TextInput in AS3

The AS3 components in CS4 allow for visually showing that the component is focused, using a code generated or libary asset sprite as the focusRect. This can be changed using the focusRect property or through the #setStyle method inherited by all UIComponent’s. The outlying size of the focusRect can also be altered by setting the [...]

Line-width on Shapes in Flash, and scale9Grid Results

A quick note regarding something I’ve been meaning to post a short note about for a while, for those that might be running into problems resulting from shapes drawn in flash with an outline. I ran into this recently again, so I thought I’d post for any concerned parties out there. Regardless of whether or [...]