Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hendrikmaus/AS3-Nimble

Nimble is an open source lightweight fluid layout class for use with ActionScript 3
https://github.com/hendrikmaus/AS3-Nimble

Last synced: 3 months ago
JSON representation

Nimble is an open source lightweight fluid layout class for use with ActionScript 3

Awesome Lists containing this project

README

        

#Nimble Layout Class

##Description
Nimble is a very simple class, built to achieve fluid layouts in Flash applications real quick.
It was created for http://diploma.aidentailor.net during my flash-as3-hype-time ;)

##How to use:
Create an object to hold any of the following parameters and pass that object to the Nimble class constructor.

```
- alignment: (string) "TOP_LEFT","TOP","TOP_RIGHT","LEFT","MIDDLE","RIGHT","BOTTOM_LEFT","BOTTOM","BOTTOM_RIGHT"
default: "MIDDLE"

- margin: (number) default: 0
```

##Example:

```actionscript
new Nimble(displayObject, {alignment: "TOP_LEFT", margin: 20});
```

For another example see the attached project.