ActionScript

NiceComps – AS3 UI components for Flash

NiceComps is a set of ActionScript 3 UI components that I have been slowly working on over about the last six months. I got tired of the ugly built in components that come with Flash and I don’t particularly like the look of MinimalComps. I wanted UI components that looked nice and were easy to […]

May 20, 2011

AS3 Uint Colour Util – Update: Now with source

Since Flash works with colour in the hex format, I’m always finding it annoying how you have to convert to RGB to perform manipulations on colours. Most colour classes out there like Grant Skinners Color Matrix and the ColorMatrix by Quasimondo work with matrices and the ColourTransform class, which is OK sometimes. But I find […]

March 29, 2011

AS3 – Getting the order of MovieClips in the stage

Here is yet another small code snippet which allows you to get the order of MovieClips that are positioned on the stage. Source for the demo above: Download

June 6, 2010

AS3 – Detecting Control, Shift and Alt keyboard shortcuts

Here is a snippet of code which allows you to detect keyboard shortcuts such as ctrl+[another key] and ctrl+shift+[another key]. I wasn’t able to find any decent examples of detecting shortcuts but after reading the AS3 documentation I found that the Keyboard event contains the following boolean properties So by simply checking if those properties […]

June 5, 2010

AS3 – Repositioning the ComboBox dropdown list

If you’re like me and you don’t mind using some of the built in components in Flash to quickly build a UI but hate the look of them, you’ve probably made your own skins for them which is all well and good. But sometimes there are little things that really annoy me like the ComboBox […]

Generative Art in Flash

Recently I have been inspired to create generative art using Flash thanks to Erik Natzke who creates stunning images… all created by ActionScript. I did a fair bit of digging around the net and managed to find a few code examples and video demonstrations on how the images were generated. So as you can see […]

May 6, 2010

Gradient Slider V1

Today I decided to redo my gradient slider as a reusable class. But first I had to learn better OOP so after watching a quick tutorial over at GotoAndLearn I started moving all the code into separate class files. The main thing I wanted to do was to have the slider dispatch a custom event, […]

April 30, 2010

AS3 Gradient Slider

Recently I starting working on a little project in Flash ( I will post on this later when I am ready to show it) which required some kind gradient slider like what you would see in the Flash IDE and Illustrator etc, where you can move colours around and add or remove them form the […]

April 17, 2010

AS3 CoverFlow in Flash

I decided to include a ‘CoverFlow’ browser similar to iTunes in a website concept proposal for my latest Uni project. I searched the net and couldn’t find any decent/simple cover flow examples that have been created in Flash and ActionScript 3, so I set out to make my own… heres what I’ve got so far. […]

May 24, 2009