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 for bbc.co.uk, with dimensions 150 by 150, and load it into the Loader instance myLoader, and would look like this

Read More

Watch Full Movie The Boss Baby (2017)

Poster Movie The Boss Baby 2017

The Boss Baby (2017) HD

Director : Tom McGrath.
Producer : Ramsey Ann Naito, Denise Nolan Cascino.
Release : March 23, 2017
Country : United States of America.
Production Company : Twentieth Century Fox Film Corporation, DreamWorks Animation.
Language : English.
Runtime : 97 min.
Genre : Animation, Comedy, Family.

Movie ‘The Boss Baby’ was released in March 23, 2017 in genre Animation. Tom McGrath was directed this movie and starring by Alec Baldwin. This movie tell story about A story about how a new baby’s arrival impacts a family, told from the point of view of a delightfully unreliable narrator, a wildly imaginative 7 year old named Tim.

Watch Movie Online The Boss Baby (2017)

Do not miss to Watch movie The Boss Baby (2017) Online for free with your family. only 2 step you can Watch or download this movie with high quality video. Come and join us! because very much movie can you watch free streaming.

Streaming Movie The Boss Baby (2017) Online

Incoming search term :

The Boss Baby 2017 English Full Episodes Download, Watch The Boss Baby 2017 Online Viooz, The Boss Baby 2017 Watch Online, download film The Boss Baby 2017, watch movie The Boss Baby now, Watch The Boss Baby 2017 Online Free Viooz, film The Boss Baby streaming, The Boss Baby 2017 film download, The Boss Baby 2017 Full Episodes Watch Online, The Boss Baby 2017 HD English Full Episodes Download, streaming The Boss Baby, The Boss Baby 2017 For Free online, The Boss Baby 2017 live streaming movie, Watch The Boss Baby 2017 Online Free Putlocker, The Boss Baby 2017 Online Free Megashare, live streaming movie The Boss Baby 2017, Watch The Boss Baby 2017 Online Megashare, The Boss Baby 2017 English Episode, Watch The Boss Baby 2017 Online Putlocker, The Boss Baby 2017 English Episodes Free Watch Online, watch film The Boss Baby 2017 now, movie The Boss Baby trailer, streaming The Boss Baby 2017 movie, The Boss Baby 2017 English Full Episodes Online Free Download, movie The Boss Baby 2017 streaming, The Boss Baby 2017 HD Full Episodes Online, Watch The Boss Baby 2017 Online Free putlocker, The Boss Baby 2017 English Episodes, The Boss Baby 2017 streaming, streaming movie The Boss Baby, The Boss Baby 2017 Full Episodes Online, The Boss Baby 2017 For Free Online, download The Boss Baby 2017 movie now, The Boss Baby 2017 Episodes Online, The Boss Baby 2017 English Full Episodes Watch Online, Watch The Boss Baby 2017 Online Free, The Boss Baby 2017 Episodes Watch Online, The Boss Baby 2017 English Full Episodes Free Download, The Boss Baby 2017 movie trailer, Watch The Boss Baby 2017 Online Free megashare, The Boss Baby 2017 Full Episode, film The Boss Baby 2017 trailer,

Read More

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 to get your API key ->http://www.groupon.com/pages/api

2.) Signup to commission junction who run their Affiliate program, and get your CJ account id -> http://www.cj.com

3.) Consult the Groupon API documentation, and make calls on it retrive the desired Deals (by location or Division as they refer to it).  Prefix the returned Deal URLs with this:

http://www.anrdoezrs.net/click-[CJ_ACCOUNT_ID]-10804307?url=Watch Full Movie Online Streaming Online and Download

Replacing the [CJ_ACCOUNT_ID] with your own CJ account id. So a link to a deal using my CJ account id would be something like ->

The API is split into two main sections, one returning the availiable locations (or divisions) that offers are availiable in. And one that returns the deals themselves, passing to it a division from the former, a longditude/latitude or nothing and let the API try and work out your location for itself.

Pros & Cons:
My initial thought was that the responses from the API seem unnecessarily bloated, but after chatting with their technical team there is a partially documented feature with the deal API, adding a show parameter and then comma delimiting the nodes you wish returned will restrict the results to only return those nodes.

e.g. suffixing – show=title,dealUrl,largeImageUrl,pitchHtml – will return the basic information you need, in a much better size for Mobile usage where traffic size is a premium.

Divisions – AKA Locations – Only the North America is supported at the moment, with Deals in the U.K. being handled by AffiliateWindow and served through their own API.

On the whole though it is a nice and simple to use API, it’s just a shame about lack of Inventory outside of the US.

Commission:
For referring existing Groupon users to Deals – between 2% and 5%.
For referring new users to Groupon, between 10% and 15%.
So there is quite an incentive to refer new members, meaning that while current areas (US & Canada, Brazil, western Europe, and Japan) may topout in terms of new signups in the near future, if you have any Apps or sites targeting areas not currently serviced by Groupon (China, India etc) it might be worth integrating Groupon as soon as they do. If  past form is anything to go by then the rewards could be very lucrative.

Here’s a little Flash AS3 demo of the Groupon API in action. The code for which can be downloaded for free below.

N.B. It’s important to remember that when using a service like this some conditions may apply, in this case conforming with the Groupon Branding Guidelines. Whilst it may be easy to ignore them and assume no-one will notice, it is of course just as easy for them to switch off your API key, so save yourself the hassle.

Read More

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 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

Read More

Watch Full Movie Online Passengers (2016)

Poster Movie Passengers 2016

Passengers (2016) HD

Director : Morten Tyldum.
Writer : Jon Spaihts.
Producer : Stephen Hamel, Michael Maher, Ori Marmur, Neal H. Moritz.
Release : December 21, 2016
Country : United States of America.
Production Company : Columbia Pictures, Village Roadshow Pictures, Original Film, Company Films, Start Motion Pictures, LStar Capital, Wanda Pictures.
Language : English.
Runtime : 116 min.
Genre : Adventure, Drama, Romance, Science Fiction.

Movie ‘Passengers’ was released in December 21, 2016 in genre Adventure. Morten Tyldum was directed this movie and starring by Jennifer Lawrence. This movie tell story about A spacecraft traveling to a distant colony planet and transporting thousands of people has a malfunction in its sleep chambers. As a result, two passengers are awakened 90 years early.

Streaming Movie Passengers (2016)

Do not miss to Watch movie Passengers (2016) Online for free with your family. only 2 step you can Watch or download this movie with high quality video. Come and join us! because very much movie can you watch free streaming.

Download and Watch Full Movie Passengers (2016)

Incoming search term :

Passengers 2016 English Full Episodes Free Download, trailer movie Passengers, Watch Passengers 2016 Online Megashare, Watch Passengers 2016 Online Free megashare, Passengers 2016 Full Episodes Watch Online, download film Passengers now, movie Passengers 2016 download, Watch Passengers 2016 Online Viooz, Passengers 2016 English Episodes Free Watch Online, Passengers movie streaming, download movie Passengers, Passengers 2016 Online Free Megashare, Watch Passengers 2016 Online Putlocker, Passengers 2016 HD Full Episodes Online, Passengers 2016 English Full Episodes Watch Online, Passengers 2016 English Episode, download Passengers 2016 movie now, Passengers 2016 movie download, streaming Passengers 2016 film, Passengers 2016 For Free Online, Passengers 2016 English Full Episodes Download, Passengers 2016 Full Episode, Passengers 2016 English Episodes, Passengers 2016 Episodes Watch Online, Passengers 2016 HD English Full Episodes Download, Passengers 2016 Watch Online, Passengers 2016 For Free online, film Passengers online streaming, Passengers 2016 Episodes Online, Watch Passengers 2016 Online Free, live streaming film Passengers, live streaming movie Passengers 2016, live streaming film Passengers online, film Passengers 2016 streaming, Passengers 2016 English Full Episodes Online Free Download, watch full Passengers film, Watch Passengers 2016 Online Free putlocker, Passengers film, Watch Passengers 2016 Online Free Viooz, Passengers 2016 Full Episodes Online, Watch Passengers 2016 Online Free Putlocker, watch Passengers movie now, streaming Passengers movie,

Read More

Standing Wave 2 – Open source AS3 sound engine

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.

Read More