AS3 Scale9 Bitmap
AS3 Scale9 Bitmap is class that lets you create scale9 sprites with bitmap data fill – originally this was not possible in Flash 9. The class creates a “fake” scale 9 sprite containing 9 shapes that scale according to user-defined scaling matrix. Extremely useful for quick user interface work (creating buttons, scalable UI elements etc.)
http://www.uza.lt/codex/as3-scale9-bitmap/
Scale9Grid Helper
I have been working on a project with lots of round cornered cubes. They all have to scale so i apply scale9Grids. Making a new Scale9Grid everytime and not seeing the grid frustrated me enough to come up with a solution to all my problems.
Thus the birth of the Scale9Helper class.
This class can make a Scale9Grid for you and it can also visualize you grid. SO you can actually see how the Scale9Grid is layed out.
http://blog.rackdoll.nl/?p=272
Cookie Util
From the site:
I have written a small utility class which I think some of you really would like to use. It is a small class that makes it possible to set Cookies via Actionscript without adding anything to the HTML Wrapper, all the code will be injected at runtime.
http://myflex.wordpress.com/2008/11/12/actionscript-cookie-util/”.
ExtendedTimer
From the site:
so let’s say you start a Timer with 1000 milliseconds delay and stop it after 600 milliseconds. if you call Timer.start() again, it starts with a new delay of 1000 milliseconds again. there is no built-in possibility to resume the timer for the remaining 400 milliseconds. i thought “nothing easier than that, just call Timer.pause()”. but there was no such method, so i decided to write my own ExtendedTimer class and add the pause functionality. now i like to share it with you…
http://blog.fjakobs.com/archives/101.
Object Pool
From the site:
Two of the slow operations in the flash player are object creation and garbage collection. If we pool objects – save objects when they’re no longer needed and reuse them later when another object of the same type is required – then object creation is kept to a minimum and garbage collection is reduced to zero.
ttp://www.bigroom.co.uk/blog/object-pool-class.
Bitmap Mosaic
From the site:
This class will allow you to create a pixellated copy of any display object.
It allows for varying pixel sizes and caching of rendered pixels so you don’t have to redraw them every time.
http://juliankussman.com/blog/2008/10/01/as3-bitmap-mosaic-class/.
ObjectSerializer
From the site:
If anyone ever has the need to pass complex objects through a url, LocalConnection, or whatever.. I wrote an ObjectSerializer that you might want to use.
http://techish.jeremymooer.com/2008/09/random-utility-class-objectserializer.html
Survey Lite Library
From the site:
Last month a client of mine who has very strick business model for marketing research called us to create a entire library for them to build survery quick as possible. It’s took me dozens days to develop the library and after I finish up I realize that I could create a new one more light and tiny version of that I did…SurLL, intend to get more easy to create UI survery in Flex with no extra work.
http://www.igorcosta.org/?p=154
MarchingAntsSelect
From the site:
This is a simple ActionScript 3 implementation of the class marching ants selection marquee you find in applications such as Photoshop.
The class is based off this ActionScript 2 example here; http://www.nocircleno.com/experiments/selection_ants_proof/index.html, but adds in many more methods and is entirely self contained. Drawing the bitmaps for the marquee internally in the class.
Features
Either Fixed or user drawn marquee
Draggable or static fixed marque
Programatically changeable marquee colours
Programatically changeable marquee line thickness
Does not rely on library assets for marquee
http://www.blog.noponies.com/archives/80
WindowBlur
Blurs a background (MovieClip or Sprite) behind a transparent window (MovieClip or Sprite). Based on Pixelfumes AS2 class.
From the site:
I was checking out a website yesterday when it suddenly reminded me of a Pixelfumes experiment I remembered seeing many moons ago. After finding it with a quick Google search, just for kicks, I decided to play around and update the idea to AS3.