Scripts, Tools & Methods Developed at Hook
42 Posts since November, 2009
Kutout is an as3 (Actionscript 3) open-source library and sample application for image extraction and object extraction from images in Flash. The methodology behind the approach was taken from the java implementation of a pre-existing open-source solution called SIOX (Simple Interactive Object Extraction).
Different Approaches to Simulate Motion Blur in Flash A better title for this set of experiments would be “The art of making things smudgy in Flash”. Since that is basically what we are doing here. The retina works a bit like the film in a traditional camera. Light energy comes in, stimulates part of the [...]
Recently, I was having a weird issue with shading flickering while working on a project with Away3D. I wanted to use basic lighting with the WhiteShadingBitmapMaterial class.
Let me guess, it goes a bit like this: “Click + Drag, crap grabbed the wrong one, slower click, still the wrong item, lock, lock, lock, lock, click, finally. Double Click, crap.. locked..unlock, unlock, unlock, double click, f@&^k!” Managing the seemingly simple act of selecting objects on stage quickly becomes a nightmare for any flash [...]
Flash 10 saw the introduction of several new API methods that enabled much more control over audio data and playback. Flash 10 now includes the ability to access sound data directly as a ByteArray. This is done via the new event SampleDataEvent. This event is dispatched from a Sound when the player requests new audio [...]
So it was one of those mornings, just after the first sweet sip of the morning RedBull, and the boss man pops in to ask a question: “So what do you think about refraction through glass in flash?”. Being the new guy and trying to hide the obvious “deer in the headlights” feeling, I had [...]
The flash timeline, love it or hate it, you must admit that it will be with us for the foreseeable future. One of the quirks/issues/features of the timeline is that if you have the same instance on two separate keyframes on the same layer, they are really two different instances of the same library object. [...]