Actionscript 3
Using the Amazon Product API with AS3 – #FreeCodeSunday
Sunday, July 11th, 2010 | #FreeCodeSunday, Actionscript 3, Affiliate Marketing | 1 Comment
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 recieve a small amount of commission.
The problem with the old post was that Amazon changed their API requiring the request be signed and have a timestamp, so really the main new part is the included .php file, which you will of course need to edit to include your Amazon secret api key. To get one and see their documentation click here…
So if you can intergrate this information into a fun game or app and drive engagement through to the Product on Amazon in a way that is useful enough to your users that they then purchase the product, then you can make a few pennys. Well… maybe enough to buy lunch.
The source code goes into how to change the filter to search dvds instead of music, and there’s full API code to parse the XML for each Product into a Class instance to code against.
Credit for how to intergrate the Amazon signature methodology must go to www.ilovebonnie.net
An easy to use AS3 shape drawing class, gear, cogs, wedge, arc, star, burst
Monday, April 19th, 2010 | #FreeCodeSunday, Actionscript 3 | 8 Comments
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 Actionscript 3 implementation of the hard work done by both Kevin Williams and Ric Ewing. I’ve also used a Minimal Comps Slider as well and included the slightly amended code for that which does not require the Flex SDK (makes it easier for people not familiar with it).
Any comments, suggestions, or shapes you’d like to add just comment or send me a mail.
Enjoy, Aden.
EDIT -
Sidney de Koning has done exactly what i hoped and taken this on and made some improvements. Along with some nice speed tweaks, each method now takes in a reference to a Graphics instance instead of a Sprite class, improving the performance and making it move useful.
Nice work Sid, i’ve ammended the demo below to include his class and the associated source code. His related article…
The Flash plugin is required to view this object.
Standing Wave 2 – Open source AS3 sound engine
Friday, July 10th, 2009 | Actionscript 3, Flash and Sound | No Comments
I’ve been messing around with recently released Standing wave 2 engine over at JoeberKovitz.com. He used the initial version for his online musical composition app NoteFlight which is very polished, if a little hard to get into for a non muso like me.
I’m planning on using it in a child orientated music composition game, and using standard mp3′s it’s very smooth and solves most of the problems with timing sounds in As3. You can work with standard mp3′s or synthesise your own sounds as well.
I’d also recommend having a look over at PlayWithMozart by Jean Marc Bara, he’s a top dude and has created a really interesting app with smooth sound playback.
BristolFUG Talk
Tuesday, July 7th, 2009 | Actionscript 3 | No Comments
Been a while since i’ve had a chance to post i know, now i’m back fulltime freelance i can add some more tutorials, free code and tips and tricks and reply to comments a little bit more often.
Tomorrow i’m giving a talk to the Bristol Flash user group on 3d in flash. We’ll be going through the whole process, from building and texturing a model in blender, exporting it into flash, and then using Away3d engine to load in the model and manipulate it with code. The aim is to give a medium level overview of the process, and provide the source code to work from.
If we get time or in future talks, we’ll look at integrating open source physics engines into a 3d application.
Problem with Flash Player 9.0.28 or below?
Tuesday, May 5th, 2009 | Actionscript 3, Quick Tip | No Comments
Try adding this little line in your document class constructor to create the ADDED_TO_STAGE constant as this was not present in players 9.0.28 or below.
Bit of a hair puller this one.
if (Event.ADDED_TO_STAGE == null)
{
Event["ADDED_TO_STAGE"] = “addedToStage”;
}
Google spreadsheet and flash part 2 – A Read/Write example
Sunday, February 8th, 2009 | Actionscript 3 | 5 Comments
I’ve iterated up the previous example showing how to save data from a Google Spreadsheet, to add in the ability to load the data from the spreadsheet as well. Googles service in impressively fast, and works well with concurrent users. This is however no substitute for a proper database, and shouldn’t be used as such.
Personally i’ve got loads of great ideas on how to use this, things like adding feedback/bug reporting functionality into projects. Clients love the transparency and easy of use of the Google Spreadsheets.
All you need to do is have a php server, download the source code, create a google spreadsheet with form functionality, be sure to publish it as well with the auto republish flag set as well, change to source code with the key from your spreadsheet and do a simple request to find the id of the worksheet.
Here’s the spreadsheet being edited. – http://spreadsheets.google.com/ccc?key=pyxyLmVwUP3OtKbRWR-x3LA&hl=en
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
