Monthly Archives: May 2011

SWF Scaling, Cropping, and Alignment

When embedding a SWF, there are a two parameters that control how it scales, crops, and aligns within the available width and height. scale: Specifies the scaling method and/or cropping of display objects drawn outside of the dimensions of the … Continue reading

Posted in Uncategorized | Leave a comment

Creating Instances with Dynamic Names

Creating instances of MovieClips set to “Export for Actionscript” in Flash Professional is really easy to do with the following AS3 code: var myClipClass:Class = getDefinitionByName(“MyClip” + “01″) as Class; var myClip:MovieClip = new myClipClass(); addChild(myClip); The magic occurs when … Continue reading

Posted in Uncategorized | Leave a comment

Customizing TextFlow Hyperlinks Appearance

There are three states of TLF LinkElements (“hyperlinks” or “anchors”) that may be customized: Normal: When the LinkElement is in both its non-hover and non-active state (or when ROLL_OUT is dispatched) Hover: When the LinkElement dispatches a ROLL_OVER event and … Continue reading

Posted in Uncategorized | Leave a comment