Posts Tagged Snippet

global-css

Global CSS Robotlegs Trick

A quick and easy way to globally apply CSS to your TextFields within your Robotlegs applications.

Posted 27 July 2011 by
Tagged As: , , , | Categories: AS3, Robotlegs, Snippet | 16 Comments
Verbose toString for any object or class

Verbose toString for any object or class

A revamp of the old ToStr class. Converts any object or class into a nicely formatted string. This new version also traces sub complex objects to the depth you specify.

Posted 31 January 2011 by
Tagged As: , , | Categories: AS3, Featured, Snippet | 3 Comments

Cookies for Robotlegs via SharedObject

Working with the SharedObject can sometimes be a real pain, I find a lot of AS3 developers don’t even know about the SharedObject and what’s possible with it. — Correct me if I’m wrong! Using cookies for a Flash website/application can really add that extra little bit of value, stuff that user might “expect”. Like [...]

Posted 2 October 2010 by
Tagged As: , , , , | Categories: AS3, Robotlegs, Snippet | 1 Comment

Compute Sound Spectrum

The sound spectrum is one of those things you can play with for hours, I’m sure many of you feel the same way. I just wish there were more projects to use this with. To date, I’ve only used the sound spectrum visualization in ONE project… hehehe. After writing this simple to use SoundSpectrum class [...]

Posted 7 August 2010 by
Tagged As: , , , , , , , , | Categories: AS3, Snippet | 11 Comments

ColourFilter for DisplayObjects

Changing the Hue, Contrast, Saturation and Brightness on a DisplayObjects at runtime is no easy task, well in the case of this: mySprite.saturation = -1 being easy. Lets jump right in, have a look at this: This will make your sprite grayscale, now isn’t that a step forward. The ColourFilter can adjust: alpha – This [...]

Posted 2 August 2010 by
Tagged As: , , , , | Categories: AS3, Snippet | 6 Comments