jsFloater

a liquid GUI class for Flash Actionscript 3 projects

Introducting jsFloater

jsFloater is an Actionscript 3 class that allows you to “liquidify” (create liquid layout or liquid GUI for) your Flash site with a minimum of effort.

Objects can be “floated” in a variety of ways, and with a great deal of flexibility: you can assign pads to your objects within the context of their float, and even use simple math to create custom interactive behaviors for your objects.  The package is extremely lightweight and flexible.

jsFloater also computes the centering math on your own objects for you.  Standard movieclip 0,0 top left registration is expected.

For an example, see the jsFloater example swf, which contains an object for each available float method in the jsFloater class.  Mousing over these objects reveals their method, their float mode, and their current pixel x – y coordinates.  The example swf acts as a kind of visual API guide.

 

Did this code save you some time?

Buy me a beer

 

One Response to “Introducting jsFloater”

  1. Joe G says:

    Very nice man!

    I always wondered how that was done with Flash.

    Thanks!

Leave a Reply