Kirupa.com - Flash/ActionScript: Auto-Resizing and Centering your Content

By default, the content you create in Flash is set to appear at a fixed width. Fortunately, you have the ability to override that default, and with some ActionScript, be able to have your content take advantage of available space. For an example of what I am referring to, click on the below image to launch a new window:


This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/as3/resizing_centering_as3.htm