Google Developers Live (GDL) Presents Make Web Magic

November 26th, 2012 by Adrian

Google Developers Live

Recently I’ve really been enjoying this video series by Google Developers Live. It’s called Make Web Magic, and it is a series of interviews with talented HTML5 developers who have released great work (usually on the Chrome Experiments site). To date there are three interviews on there. The host is Paul Irish (someone who knows what they are talking about) and it is a great way to pick up tips and tricks used by the experts. Check out the videos …

Make Web Magic | Part I – Michael Deal

Michael Deal

Michael’s website:

Make Web Magic | Part II – Mark Danks

Mark Danks

Mark’s website:

Make Web Magic | Part III – Hakim El Hattab

Hakim El Hattab

Hakim’s website:

Posted in CSS3, Google, HTML5, Javascript, Presentation, Video, WebGL | No Comments »

Google Chrome advert man must be very confused @#*%£!

June 6th, 2011 by Adrian


You may have noticed recently that Google have been advertising their Chrome browser on TV. The advert I saw showed a chap called Edward Lewis (fictional I presume) sending emails to his newly born daughter, Hollie. All very cute and sentimental, ahhhh. If you didn’t see it you can watch it on YouTube here.

If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get Flash Player from Adobe.

But you have to feel sorry for poor Mr Lewis (who is doing his best to provide his little girl with a valuable commentary of her early years), because at every turn Google are out to mess with his mind!

First of all he creates a new gMail account for Hollie with the username ‘dear.hollie’, only to find she already has 32 emails waiting for her in her inbox!

Secondly, he has been busy recording special moments of Hollie on his trust camcorder and diligently uploading them to YouTube for her to watch when she is older. We see him logged in to YouTube as ‘Edwardlewis599′ and he has already uploaded 11 clips.

Edwardlewis599 YouTube account

But, when we visit his YouTube page ALL his videos have been removed!!

Edwardlewis599 has no videos available.

Thirdly, at 42 seconds in, we see Mr Lewis trying to find where he needs to take his princess for her ‘First Day At School’. Obviously, not wanting to turn up at the wrong place he does a search using the Chrome browser address bar for ‘Park Road Primary School’.

Park Road Primary School

Luckily for Mr Lewis, the school he is looking for is top of the Google search results. However, for us, we find four different Park Road Primary Schools

And the school that Mr Lewis finds has obviously been taken in to special measures and then closed by OFSTED! Poor Hollie.

But to be honest, it’s lucky he ever found the school on her first day anyway. As Google Maps tells him that the school is located at 10 Park Road, NW4 84W.

Google Map

Anyone that lives in the NW4 postcode area of London will be able to tell you that they live in Hendon, near the end of the M1 motorway, not Ealing, which is where Google Maps is trying to take him.

Weymouth Ave

In fact, Google Maps doesn’t take poor Edward to Park Road at all. It takes him to Weymouth Ave in Ealing, a whole 9.2 miles (21 minutes) away. Me thinks Hollie is going to be late!

(Interestingly, there is also a Weymouth Ave in Barnet, just north of Hendon.)

A quick drag of the little yellow man on to the map reveals what the school looks like …

Hollie's new school

Very impressive!!!

Whereas, on Street Map what we see is …

Weymouth Ave on Street Map

Not quite as impressive. :-(

Maybe Hollie is actually meant to go to Little Ealing Primary School instead, there has just been an administrative error somewhere along the line …

Little Ealing Primary School

Ok, let’s suspend disbelief for a little while longer and assume Mr Lewis knows where he has to take his daughter.

Next we see a lovely photo of lovely Hollie with all her school bags ready to go. At the top we can see that he has geotagged the photo with the latitude and longitude …

Hollie in geotagged photo,-4.064941

Let’s find out where Edward and Hollie Lewis live. Yikes! They live in the middle of the Irish Sea!

The Irish Sea

That’s 223 miles away (according to Google Earth) as the crow flies.

I definitely think she is going to be late now!

All he needs now is Google Teleporter to get her there for registration.


Posted in Google | 13 Comments »

Accessing Google’s URL Shortening API from Flash (AS3)

January 17th, 2011 by Adrian

Google URL Shortener

Last Wednesday (12th Jan 2011) Google released an API for accessing their URL shortening service, which is great for web developers. However, for us Flash developers things aren’t quite so simple as it is for everyone else. This is due to the security restrictions imposed when accessing the domain. There is a crossdomain policy file at the root of their server ( but it is very restrictive and of no use to us, causing security errors inside your Flash movie once it has been deployed online. cross domain policy file

So I have written an ActionScript class and PHP script which makes the whole process easier for everybody. Here is a demo of it in action …

The source files and this Flash CS5 demo can be downloaded from GitHub.

The PHP file acts as a proxy so we circumvent the security restrictions. The code also makes use of as3corelib for the JSON decoding.

Many thanks to Vijay Joshi for his example of using cURL to send the JSON data from PHP to the Google web service.

Posted in ActionScript 3.0, Google, Sample Code | 3 Comments »