Saturday, June 03, 2006

PreRender -- Polished, ready for consumption.


Download:
PreRenderExample.zip

View SWF:
PreRender.html

View JavaDocs:
PreRenderDocs.html


Finished this up and added a few handy little features. Don't know if it'll be much use to anyone but hey, play with it a bit and show me your results. Comments and/or suggestions on how to improve the class would be appreciated.

Wednesday, May 31, 2006

A little fun with BitmapData.draw()

I got this idea the other day and decided to try it out.

What if I could prerender, of sorts, a complex vector animation as a series of bitmaps?

After a bit of testing I got it to work.
Warning: May freeze your browser for a few seconds while it renders the frames.
PreRender.html

It's quite slow to do the inital rendering but it does as advertised.

Sunday, May 28, 2006

SmurfLib Class Library

Download:
SmurfLib.zip

All my classes are compiled. The structure looks like below.


SmurfLib
+com
|-+movieclip
|-|--SmartClip.as
|
|-+array
|-|--ArrayUtils.as
|
|-+utils
|-|--Delegate.as
|-|--Interval.as
|-|--ColourSpace.as
|-|--WatchManager.as

Over the next few days I'll be making the docs up and adding a couple more classes. Stay tuned.

SmartBitmap -- Renamed, updated.

I updated and renamed the SmartBitmap class to SmartClip.

Documentation:
SmartClip.as Documentation

Download:
SmartClip.as


I added attachMovie and createEmptyMovieClip along with the _visible property (which should have been there in the first place).

I'm working on transfering all my classes into one big package instead of a bunch of .as files that are loosely tied togeather.