as3

MotionList – part 2

I’ve made some more progress on my MotionList class over the last couple of days. Some new features in the current demo below are:

August 19, 2010

MotionList – Windows Phone 7 Metro UI style lists

Here is small experiment I’ve done in AS3 called Motion List. Motion List is a class that creates a list or grid of items with similar animations to the upcoming Windows Phone 7 UI’s ‘Metro’ transitions. I love the new UI for WP7 and thought I’d try and recreate a little bit of it in […]

August 17, 2010

AS3: Code hinting, completion and highlighting in Air apps

Over the last couple of months I have been working on a text editor, for which I made a history manager class that I posted about a little while back. This time as a bit of an experiment/challenge I tried to include some code hinting and code completion functionality to the editor similar to Dreamweaver, […]

August 6, 2010

AS3: History Manager Class

Recently at work I have been building a text editing application to help speed up the process of adding HTML tags to text for Flash. Today I wrote a simple reusable history management class to enable undo/redo on a text field. This is the first version so there may still be some bugs. I also […]

June 23, 2010

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

Photo Painter App

Here is my latest experiment in Flash… this time its an app that takes a source image (jpg) and paints it giving it a very painterly look. You can tweak some of the settings such as brush size and blur. The image above was created using this. You can download the Air installer or source […]

April 27, 2010