Archive for May, 2008

Colin Moock - ActionScript 3.0 from the Ground Up

Today I went to Colin Moock’s ActionScript 3.0 tour here in Sydney. The venue was the SMC Conference and function centre at 66 Goulburn St. It’s just around the corner from the office.

colinmoock_danieltome

Colin was a great presenter and quite amusing. Even after letting us know that he couldn’t go to sleep after 3am in the morning, he still stayed a bit more after the event to answer more questions.

He gave away some free books and I was lucky enough to get one by debugging some of the code. Some people got free books for answering some Star Trek and infocom related questions, and others for travelling a long distance to the event. There was a girl who came all the way from New Zealand just for the event. I reckon around 200 people attended the event.

IMG_4944 IMG_4934

Colin has sworn never to use powerpoint, so he built his own presentation software. Here is a link to the same system he uses during the presentation: http://moock.org/lectures/presentationviewer/
Select AS3.0 from the ground up and then click on open presentation. Then use j,k,l to navigate through the items.

Here is a full html page with all the lecture notes: http://moock.org/lectures/groundUpAS3/

And a 2mb pdf with the code used: http://www.adobe.com/devnet/actionscript/articles/as3_tour/colin_moock_f6.pdf

The colour on the projector screen was more yellowish instead of olive, but it still felt much better than a cheesy powerpoint.

The presentation was a bit too basic for someone who already had read his AS20 Cookbook but I new that beforehand. When registering you receive a confirmation email and here is a quote:

“Remember, this course is for beginner-to-intermediate level programmers and runs for a grueling 9 hours, so get a good night sleep and be ready for a heavy onslaught of ActionScript 3.0 info!”

Though I do a lot of advance work with AS2.0,  I decided to go because I had never done anything with AS3 yet. I got to see some details on AS3 like: how the display list works and also a bit on how the ASVM2 does garbage collection.

The application that Colin builds, while explaining key concepts of OOP with AS3 is a Virtual Pet game. Like the Tamagochi game. He uses the MVC design pattern and explains the concept very well.

At the end of the presentation he asks if it’s worth going down that path of OOP for just a simple game like the Virtual Zoo. The answer: It depends.

This app could have been built on the Flash IDE timeline in less than an hour. But when you think about extending it, or implementing any changes, that’s when the timeline will probably fail. In a real life example when a client starts asking you to do updates you would have wanted to opt for the OOP design instead of the procedural way.

Overall: It was a great event and I thank Adobe, O’Reilly and Colin for making this happen. I’m looking forward for more to come.

Add comment May 5th, 2008

Foo Fighters - Sydney, Acer Arena

Foo Fighters played on Friday and Saturday at the Acer Arena, here in Sydney. The show was bloody awesome! It’s one of the best shows I’ve been to in a long time, if not the best. I recorded some videos with my mobile, but the audio is crappy, so I checked if anyone else had posted a video and here’s a recording with pretty good quality (thanks to satur9nine) of My Hero. Check more videos of these two shows here: Youtube. Foo Fighters Acer Arena.

The Fooies rock big time!

Saturday 03 May 2008 - highlights:
They started the show with Let it die.
They played for almost 3 hours.
Pat Smear was invited
A special guest guitarist performed the Ballad of the Beaconsfield miners with Dave Grohl.
Everlong started acoustic and solo by Dave, and the rest of the band joined at the end.
The crowd was full-on! I almost lost my voice cheering
They did all their classic songs, even Big Me.
Dave Grohl was really funny. It looks like he likes playing in Sydney.

My favourites (videos on youtube) :

Everlong
Monkey wrench
My Hero
The pretender

External Links:
Foo Fighters official website.
Their Myspace page

Add comment May 4th, 2008

Certification PrepKit 10% discount

uCertify has offered my blog readers a 10% discount on the PrepKit of their choice.
Just enter the discount code:

DANIAL

Go here for the Adobe Certification Expert kit

Add comment May 2nd, 2008

Flash FileReference. Uploading behind a proxy error

When your browser connects to the internet through a proxy and you try to upload using FileRefence you might get an IOError or a 406 http not acceptable error. I say ‘might’ because not all OS browser combinations trigger this error. On Windows/Firefox you will probably get an authentication popup to enter the proxy username and password, but on Mac/Firefox you will get the 406 error.

Anyways if you try searching the net, there are several threads that ask about this proxy error but no answers. I finally found a blog post that had a solution in one of the comments. From Coding Cowboys.

Add to your .htaccess file:

SecFilterEngine Off
SecFilterScanPOST Off

or:

<IfModule mod_php4.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Beware that this will disable the Apache ModSecurity module for that folder.

I just saw that the Adobe livedocs upload reference also has a comment by: log2e, regarding the 403 and 406 errors.

2 comments May 1st, 2008


Calendar

May 2008
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
262728293031  

Posts by Month

Posts by Category