StageUtil.as - Simple AS3 Class to Align Objects
As you all know that we have been working on the next release of the gallery, but is just eating up a lot of time in development as we are trying to use AS3 and provide advanced skinning options.
During this time we had to create a few helper classes to support the gallery’s requirement, and I just thought we could share the class out to the readers. The StageUtis class provides static methods to align objects similar to the Align panel in flash. Below is a simple code to align MC1 to the Left top corner of MC2
StageUtils.align(MC1, MC2, StageAlign.TOP_LEFT);
Please use the flash to view the different available options of aligning MC1 and MC2 using the StageUtils class.
This file has been downloaded 950 times.

(5 votes, average: 4.4 out of 5)










fearlex Said:
June 26th, 2008 at 6:52 am
A really good class. Thanks
Komik Videolar Said:
July 3rd, 2008 at 2:41 pm
Thanks
hekimboard Said:
July 4th, 2008 at 10:19 pm
thanks..
partner Said:
July 7th, 2008 at 4:20 pm
thanks
pc toplama Said:
July 7th, 2008 at 4:20 pm
thanks
kurutemizleme Said:
July 7th, 2008 at 4:21 pm
thanks
dogansehirliler Said:
July 7th, 2008 at 4:21 pm
thanks
beyaznadideçiçek Said:
July 7th, 2008 at 4:22 pm
thanks
aytug akdogan ödüllü 1. seo yarismasi ve yurtta baris dünyada baris Said:
July 15th, 2008 at 6:20 am
Thanks very useful…