Category Archives: technology

Pass flashvars from an embedded swf to a loaded swf.

This is somewhat trivial though not entirely intuitive — passing flashvars from an embedded flash movie to a flash movie that the swf is loading. I was working on some code recently that accomplished this task using one solution that I have seen most often — by passing the flashvars as query string parameters. In [...]

ExternalInterface.available and Security Errors

Something I suppose I had never really tested thoroughly before having not had to deal too much with random application embeds in the wild is the issue with ExternalInterface.available not quite doing what you might expect. According to Adobe documentation, this property Indicates whether this player is in a container that offers an external interface. [...]

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