Bookmarking an AS3 library: xrope by eidiot (http://eidiot.github.com/xrope/zh.html) — a simple layout library for native AS3 display objects.
Features
- Works with native AS3 display objects, with no Flex or any other dependencies.
- AtomLayout uses
getBounds()to arrange display objects, so you don’t have to worry about registration points. - Combining layout elements/groups is very easy, and no extra display containers are needed. (example)
How to use
- Create a layout group that implements the ILayoutGroup interface and set its properties as needed.
- Add display objects or other ILayoutElements.
- Call the
layout()method.