Category: #FreeCodeSunday

  • The Cat Api – where everyday is Caturday!

    So about a week ago i was up far too early trying to shake off a particularly nasty red wine hangover, and feeling pretty sorry for myself. Nothing seemed to be helping so i plugged to term ‘Cats’ into some snazzy data feed creation code i’d been working on as a proof of concept for…

  • Add a QR Code to an Image

    I love QR Codes, every time i see them it sparks ideas of innovative ways of utilizing them. The main draw back is of course – market take up. I would love to see an app come with every phone, or ideally built into the camera app not just on a phone handset, but in…

  • Using QR codes in AS3

    Very simple really, google does most of the heavy lifting. Simply load this url as you would to load an external image: http://chart.apis.google.com/chart?cht=qr&chl=[YOUR-URL]&chs=120×120 Replacing the [YOUR-URL] with a url, i.e. http://bbc.co.uk – and the 120×120 with your own width and height Example: var myLoader:Loader = new Loader(); myLoader.load(new URLRequest(“http://chart.apis.google.com/chart?cht=qr&chl=http://bbc.co.uk&chs=150×150”)); Would dynamically load a QR code…

  • Groupon API Review & Example

    Everyone must have heard of Groupon.com by now, the deal-of-the-day company that launched a couple of years ago, and due to an agressive expansion and pervasive online ad campaign is now worth over a billion dollars. Joining the service and accessing their Deals via their API is straight forward enough. 1.) Signup to their API…

  • Using the Amazon Product API with AS3 – #FreeCodeSunday

    This is really an update to an earlier post on how to use the Amazon Product API search and retrive products, all tied to your Amazon account. Using this information you can present information about each product, and drive traffic to the product page on Amazon. If the user then purchases the Product then you…

  • An easy to use AS3 shape drawing class, gear, cogs, wedge, arc, star, burst

    Every other Sunday i’m going to try and release some free code. Things like projects i thought had legs, got to the prototype stage but never had time to finish, or Actionscript libraries that i think other might find useful. In this case i’m releasing my shape drawing AS3 class. This is mainly just an…