API
Using Amazon Products API and Flash
Monday, January 12th, 2009 | Actionscript 3, Affiliate Marketing | No Comments
EDIT:There was a bug with the demo when showing a product with no customer review as i’m using that as the flavour text in this demo. Fixed in demo and source code.
Continuing the theme of Affiliate marketing, here’s a free source code demo of how to use Amazon products in flash. It uses similar process’s I’ve demoed before, signing up for the API, creating a php page to receive the keywords then search the Amazon API, and then return the data in XML format to the Flash front end.
To get started yourself, register for Amazon associates account – http://aws.amazon.com/associates/, then download the example code, change my code for yours so you receive the percentage, and play away.
Here I’ve just parsed the response xml for the products into instances of my AmazonProductData.as Class. This makes it easy to code against, and be confident in the ability to retrieve basic data about each product without spelling or case mistakes. As long as you’re using FlashDevelop, FDT or FlexBuilder that is.
I will make a full scale tutorial on how to use the API, parse the data and create a simple front end like this when i get a chance and finish creating LearnToFlash.com .
Let users pick their own theme with Kuler API
Thursday, September 4th, 2008 | Actionscript 3, User Interface | 2 Comments
Kuler is a simple adobe web app that lets users create a pallete of 5 complementary colours, others can then view, download, rate and comment on these themes.
The Kuler API is a fantastic resource to gain access to these themes, so why not allow users to easily theme your flash application with a simple button click.
Here’s a mini demo so you can give the gist.
And of course… the source code
The API Documentation for Kuler can be found here…
Search
Recent Posts
Categories
@AdenForshaw
- On the train back from london, sat next to a portly chap wearing double denim rocking a pungent aroma of Eu de sweaty man. #BadTimes
- Presenting new @Coull Affiliator in #Cocoon lounge bar Picadilly. Only snag is it's soft drinks only... torture!
- The old boys rockin it hard over at the #OldDuke http://twitpic.com/1mrsn2
- Strong set from #GazBrookfield over at Mr Wolfs, shame about the cider selection.
- Doing the pub quiz over at #theorchard , the questions are pretty hardcore tonight http://twitpic.com/1l1uf1