Category Archives: actionscript

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 not [...]

AS3 ComboBox close error.

Just a quick note for those possibly searching for ComboBox AS3 and “Cannot access a property or method of a null object reference.” When using the AS3 ComboBox, the above error will be thrown when the ComboBox loses focus, if the ComboBox is in its open state and it has lost reference to the stage. [...]