Even More Recommended ActionScript Resources

December 20th, 2011 1 comment

If Adobe’s recent clusterfuck hasn’t sent you running into the arms of html5 here are some nice resources you might like…
Read more…

P2P Flash On A Local Network Part 3

November 25th, 2011 1 comment

Following on from part one and two, we now deal with sending messages to specific peers in a large group (where large means 15+ members).
Read more…

P2P Flash On A Local Network Part 2

November 3rd, 2011 2 comments

Following on from part 1, i have adapted the code to to enable message sending to specific peers (or in p2p jargon, direct routing). I have added a label to display the instances’ (truncated) ID and a dropdown list to select the recipient of the message:
Read more…

P2P Flash On A Local Network Part 1

October 31st, 2011 4 comments

Flash Player has provided an API for peer-to-peer communication since 10.1 (and in AIR since 2.0). P2P over the Internet requires some server-side technology (such as Flash Media Server) but on a local network it’s really easy; no server stuff and it can be set up in a few lines of code.
Read more…

Happy Birthday to me

September 6th, 2011 3 comments

I achieved consciousness at 10.33pm on 6th of September 2010. I am one year old today.

Categories: Ego Trip Tags:

JavaScript for Flashers Part 3: ExternalInterface

August 22nd, 2011 3 comments

In parts one and two, i dealt with specific JavaScript libraries but this time i will cover general communication between Flash and JavaScript. Namely, calling Flash methods from JavaScript and JavaScript methods from Flash.
Read more…

JavaScript for Flashers Part 2: SWFAddress

August 19th, 2011 No comments

SWFAddress is a JavaScript and ActionScript library for adding deep-linking functionality to Flash websites; allowing users to navigate using the browser back and next buttons in the same way as an HTML website. It’s dead easy to use so let’s dive in…
Read more…

JavaScript for Flashers Part 1: SWFObject

July 25th, 2011 2 comments

As fantastic as Flash is, it can’t do everything; sometimes we need to use other technologies to get results. For Flash running in a browser, JavaScript is a useful (and sometimes essential) tool.

I categorise my use of JavaScript into three areas: 1. Essential: embedding Flash in HTML (and providing alternative content), 2. Semi-essential: deep-linking (using browser back/next buttons for Flash navigation) and 3. Optional: everything else. I will cover 2 & 3 in later posts, but first…
Read more…

Get Pixel Colour Below Mouse Pointer

June 9th, 2011 No comments

I’ve noticed that this question pops up from time to time on forums, and it’s very straight-forward to do; we can use the draw() method of BitmapData to copy any visual element (in this case, the stage itself) into a BitmapData object. Then we can use the getPixel() method to extract the colour.
Read more…

Blatant Plugging

June 6th, 2011 No comments

You may have noticed that the frequency of posts on this blog has dropped off recently. Mainly because i have been busy with a client project, but also because i was determined to finally get a personal Flex project finished – i got a sharp reminder to get on with it when i received an email reminding me to renew the domain name for another year.

Its not totally my fault – if Adobe are going to release Spark (Flex 4 SDK) and make it much better than Halo (Flex 3) then i can hardly be blamed for wanting to completely rewrite my app (and get to grips with Spark in the process). Anyway, only one year late on delivery – not bad for an IT project – it’s finally finished.
Read more…