|
|
Labs.byHook |
Flash Scripts, Tools & Methods Developed at Hook |
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 [...]
Ever wonder what is behind your browser window? “Pixels!” you say? You’d be wrong, its clearly remote controlled ponies. I can prove it, click “Read More”. Then go ahead.. drag your browser window around.. no really.. go ahead.. its just ponies.. I promise!
Often in an application it is necessary to be able to define and then switch the application state based on either user input or data updates. The Finite State Machine (FSM) is our version of a State Machine in Actionscript 3. The FSM uses StateControllers to manage lists of State Objects. A State Object is [...]
Sound is one of the areas in Flash that seems to cause the most frustration. The included sound classes are adequate for basic playback but don’t provide enough capability on their own for larger projects. The area we found to be most lacking is in organization and management of lots of sounds. In order to [...]