Even More Recommended ActionScript Resources
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…
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…
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…
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…
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…
I achieved consciousness at 10.33pm on 6th of September 2010. I am one year old today.
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…
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…
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…
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…
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…