Flexible Flash

Posted on 05. Feb, 2009 by Prlwytzkofsky in Robot

While searching for a Flash display manager I came upon the NpFlexLayout class on Blog.noPonies.com. It seemed just what I was looking for – except for an option to constrain the proportions of resizeable objects. Fortunately it proved easy to add a “keepRatio” option to the well documented NoPonies code.

beesies

Adapted NoPonies 2.0 beta NpFlexLayout class with added “keepRatio” option available below for your coding pleasure.

Example
Link to an example: http://prlwytzkofsky.com/div/rescale/

Source Files
Source Code (AS3)


  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • RSS
  • Twitter

Tags: , , , , ,

2 Responses to “Flexible Flash”

    • Looks good.

      I’ll add your methods to the final release and put in a credit to you.

    Reply to this comment

Leave a Reply