Friday, March 5th, 2010
Had this little idea a while back, thought I would spend an hour tonight and bash it out.
I love the Trance Around The World radio show by Above and Beyond, downloading it for listening later is very annoying however and involves some fiddling with browser source and other things, so to make life easier I built this little tool. What it does is grab the HTML from the above and beyond page then parse it for the MP3 file, then it uses the FileReference class in flash to download it to your HD.
Anyways, enough jibber jabber. Source is enabled:
Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.
Hope you enjoy!
Tags: Actionscript, Audio, Download, Flash, Flex, MP3, Music, Source, Trance
Posted in Actionscript, Flex, MXML, Personal Projects, Programming | No Comments »
Tuesday, January 12th, 2010

Well I was just doing some audio book organising and realised that it would be great if I could drag and drop a folder straight from my AIR into iTunes ready for upload to my iPhone.
Anyways after a little searching through the docs I came up with this little ditty:
var cp : Clipboard = new Clipboard();
cp.setData(ClipboardFormats.FILE_LIST_FORMAT, [new File(book.url)], false);
NativeDragManager.doDrag(null,cp);
Which gets fired by my DataGrid in the view:
<mx:DataGrid width="100%" height="100%" dataProvider="{books}" editable="true"
itemEditEnd="{dispatchEvent(new BooksEvent(BooksEvent.PROPERTY_CHANGED));}"
dragEnabled="true"
dragStart="{dispatchEvent(new BooksEvent(BooksEvent.BOOK_BEGIN_DRAG, AudioBookModel(event.currentTarget.selectedItem)))}">
Its pretty cool.
Anyways, the latest version and the source is below:
Tags: Actionscript, Audiobook, Drag-Drop, Flex, iTunes, Programming, Projects, Utility
Posted in Actionscript, Personal Projects, Programming | 1 Comment »
Sunday, January 10th, 2010

I have immense respect for some of the flash developers out there and Quasimondo is one of them. He has just released a little particle related experiment.
Whenever I see these kind of things it inspires me to bash out my own little experiments.
I wont talk too much about it but check it out on this lab page: http://incubator.quasimondo.com/flash/galactose.php
Tags: Actionscript, Experiment, Flash, Lab, Particles, Programming
Posted in Actionscript | No Comments »
Saturday, January 9th, 2010

Just did a quick update to the audio book organiser. Added the ability to move the storage database file. This was so that I can put my storage file on Dropbox and it will then be backedup and synced between machines.
New version and sources:
Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.
Source: http://www.mikecann.co.uk/flash/AudioBookOrganiser/AudioBookOrganiser_v120_source.zip
Tags: Actionscript, Audiobook, Flash, Flex, Framework, Mate, Programming, Projects, Utility
Posted in AIR, Actionscript, Flex, Personal Projects, Programming | No Comments »
Wednesday, December 30th, 2009
Well its been a fun Christmas, I have eaten and drunk to the point that im going to be running it off in the gym till next christmas.
Although there has been merryment abound, the keyboard couldn’t keep me away. Its probably okay to say this now as im not under any secrecy act; I have decided to leave Massively Multimedia in Manchester to join a new startup called Ideas Pad in Wilmslow (just south of Manchester).
I cant say too much about exactly what I will be working on just yet but I can say that it will involve my experience in the Flash world. Specifically, I will be working in Adobe Flex again on some fairly sizeable projects. For this reason I wanted to brush up on my Flex as there has been a new release of the IDE (now named Flash Builder) and the SDK.
In addition I wanted to look at the various frameworks in use for Flex these days. I have used the usual Cairngorm, PureMVC before however I stumbled accross a new one called Mate (pronounced mah-tay, like the drink). Mate looked very interesting to me so before I jumped two feet in and used it in a commercial project I wanted to give it a spin in a simple project first.
Finally we get to the point of this post. I have developed a simple Adobe AIR application that allows you to organise audio books. The basic idea is simple you give the application a selection of ’source’ directories where your audiobooks belong then you can tick off whether you have listened to each one, and what rating you would give them.


The data is persisted to a file that is saved to your hard drive, so when you open the application up again next time it remembers which audio books you have listened to and what ratings you gave them.
I havent tested it very much atall so there is a very high likelyhood of being some strange bugs in there. I am also releasing all the source code for this project for all to see, use and study if they so wish.
Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.
Source: http://www.mikecann.co.uk/flash/AudioBookOrganiser/AudioBookOrganiser_v101_source.zip
Tags: Actionscript, Audiobook, Flash, Flex, Framework, Mate, Programming, Projects, Utility
Posted in AIR, Actionscript, Flex, Personal Projects, Programming | 2 Comments »