Layout Manager
Some time ago my friend Thomas needed a layout manager that would intelligently layout movie clips on the stage after resizing the browser window. On his specifications (there were quite a lot
I set out to build my *Layout* AS2 class. It can be attached to a clip and from that point on it takes care of the target clip’s constraints. The class can be parameterized to achieve:
* alignment to the stage
* aligment to other clips
* maintenance of minimum and/or maximum position and size
More info on the class is at the class’s as2docgenerator generated documentation. To see it in action check out this little sample (put on your sun glasses first). The source is available for download here.
About this entry
You’re currently reading “Layout Manager,” an entry on vanrijkom.org
- Published:
- Tuesday, June 7th, 2005 at 12:15 am
- Author:
- Ryko
- Category:
- Flash
1 Comment
Jump to comment form | comments rss