Published August 5th, 2008
in flex and svn.
You probably know that you can get diff report between two revisions using the SVN diff command, but subclipse has a feature built into it to help with patching and unpatching which is a pretty powerful tool I didn’t take note of until recently.
Continue reading ‘SVN & Subclipse, Patching and Reverse Patching’
Published July 3rd, 2008
in Actionscript, Cairngorm and flex.
I don’t know how many times I’ve seen posts for tutorials on Cairngorm on the various forums out there. Any how to save a little time, re-typing the same post here’s a brief 10 second overview of how to use Cairngorm (assuming you know how to include the source and know your way around it a little).
Continue reading ‘Cairngorm In a Nutshell’
Published July 2nd, 2008
in Actionscript and Flex 4.
Today I managed to solve a problem that had been plaguing me for days. I’d been working on part of the company framework, developing some base components that we can re-use. As part of the framework events are dispatched from the authored component and then observed for / listened to by external listeners. To de-couple the logic from the actual components themselves I’d been developing an MVC framework loosely based around the Cairngorm framework (I won’t digress by giving my reasons to this).
Much like the Cairngorm framework I’d centered around the idea that there would be a singleton event dispatcher that events would be dispatched from and observed / listened for. To do this simple you would think, simply create a singleton that interfaces the IEventDispatcher; implement the EventDispatcher class by composition and then simply pass the event into the composited EventDispatcher object on the dispatch method.
The problem that baffled me was that, even though I had created typed events extending from the Event class, when functions attached to listeners were called the event would always be typed event (as apposed to the custom event type I had originally created).
Continue reading ‘Event re-dispatching, getting the correct type’
After working on this project for over a year now, it’s finally here! Yes today we finally launched Mini Match, a project the team at Dubit have been working on for over a year now for Cartoon Network, it’s been a long stretch but we finally made it here’s a little view for you all of the Mini Match team on there.

Gotta say a big thanks to everyone working on the project with me (Mat Warneford, Tom Williams, Brent Murphy, Lisa Seelye, Mike Mountain, George, Danny T, Dave B, Simon, Phil & Wayne, the guys at Cartoon Network - Solomon, Jim, Jen, Robert, Ken, Jim H) , its been a long haul but we’ve finally made it!
What Next?… Roll on Real Madrid (the next big project).
Published May 15th, 2008
in Flash Player.
Just got into work this morning to read Adobe have launched the public beta of Flash Player 10. Quoted from the Adobe site “Adobe Flash Player 10 beta, code named “Astro,” builds on the capabilities of the world’s most pervasive application runtime with new support for custom filters and effects, native 3D transformation and animation, extensible rich text layout and GPU hardware acceleration”
Included in this version, is the ability to be able to create and apply custom filters using the Adobe Pixel Bender™ toolkit ; more text layout options, such as vertical, bi-directional and right-to-left; built-in 3D graphics effects; and an enhanced drawing API.
I’ll be taking a more in depth look at the new features later but in the meantime you can read a breief overview of whats available in this release at http://labs.adobe.com/technologies/flashplayer10/ also a full overview of the release can be found in the release notes.
Published May 13th, 2008
in Actionscript and Python.
osflash.org, recently announced a new version of PyAMF, a lighwight application that allows Flash and Python to communicate. The really exciting thing is it’s compatability with the Google App Engine, introdocing a new AMF gateway for GAE applications. If you’re interested in knowing a little more about this checkout the GEA SWF project website.
Published May 8th, 2008
in Uncategorized.
Probably an old one but resurrecting any how, Grant Skinner’s regular expression tool is a usefull tool if you are looking to test ActionScript regular expressions.
Published May 8th, 2008
in Windows.
I Just discovered an amazingly useful feature in Windows i wish I’d come across a long time ago. Mac users will all be familiar with the directory auto-complete feature when in the shell command prompt, well I found out that us windows users can also use a similar feature.
To enable it, install tweak UI and then go to the command prompt panel, select the appropriate filename autocomplete and directory name complete options an heypresto. You can now use this at any point in the command prompt to complete a directory path. It also works with relative paths too, updating the list as you type the path into the command prompt.
Continue reading ‘Autocomplete Windows Command Prompt Tip’
Published May 7th, 2008
in Flex 4 and flex.
Just finished reading a new update on the Flex 4 Wiki, from Adobe Open Source. It details changes in state syntax for the Flex 4 SDK, you can read the full details of it here.
Key changes to it will include:
- The addition if the includeIn and excludeFrom on any MXML object (see full doc for exceptions to this).
- State specific property values using the dot syntax for properties.
- The addition of state groups.
- Moving the creationPolicy attribute from the addChild, into an itemCreationPolicy attribute for MXML objects.
Flicking through the examples of code on this page it makes it definately more easier to define object states. Defintaly and interesting feature to look forward to.
Published May 4th, 2008
in Actionscript.
As a first goal of my blog, i’ve started a section on here related to design patterns in ActionSctipt. At the moment its just a general outline of the design patterns I commonly use when programming however over time I’m hoping to expand on this to include code examples.