Posts filed under 'Flash'

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

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

Getting weird characters with AMFPHP

Just a small reminder that might help anyone getting some weird characters with AMFPHP. It can happen when you copy a full text from Microsoft Word. And the quotes get inserted in your DB.

You might find some funny results like an Euro symbol appearing throughout your text. Uncomment this line in your amfphp gateway:

$gateway->setCharsetHandler("utf8_decode", "ISO-8859-1", "ISO-8859-1");

Here are some examples of text you might find:
‘ = This is the open double quote
’ = This is the close double quote

Here is a good resource if you’re having issues with strange characters and PHP / MySQL: ByteFlex – Fun with utf8, PHP and mysql

1 comment January 31st, 2008

Sydney Flex and AIR Pre-Release Tour With Danny Dura

Chris just sent this event information to the flash developers mailing lists:

Thursday, 24th January. 6pm

Flex 3 and AIR are getting close to launch and in preparation, Danny Dura from the Platform Evangelism Team will be specifically in Sydney to show off the great new features for this exciting launch.

Check the listings below to hook up with the local user group in the city closest to you and join us for an evening of Flex and AIR.

Don’t miss out on the opportunity to see and hear about this highly anticipated release of Flex 3 and AIR during this special pre-release tour. Plus, in addition to giving away some one of a kind Flex/AIR branded schwag, each event will also be raffling off a copy of Flex Builder 3 Professional (pending availability) and a full commercial copy of CS3 Web Premium!

Details and RSVP on http://sydneyflashdev2008prelaunchtour.eventbrite.com

You can also joing the Google Group: FlashAussie

2 comments January 16th, 2008

Colin Moock is coming to Sydney

If you haven’t already heard, the date is set for 5th May, the same week as WebDU.

Update: WebDU dates are: 12-13 June 2008. (Thanks Geoff)

Register here: http://www.adobeas3tour.com/

Advanced programmers please note:
This course does not cover expert-level topics. You are unlikely to encounter new concepts in this course, but are welcome to attend for a refresher on ActionScript programming fundamentals.

For a complete list of topics covered, see the Course Outline below and the course lecture notes, available at: http://moock.org/lectures/groundUpAS3/

1 comment January 11th, 2008

Previous Posts


Calendar

September 2010
M T W T F S S
« May    
 12345
6789101112
13141516171819
20212223242526
27282930  

Posts by Month

Posts by Category