Colin Moock on AS4/ECMAScript 4.0 at FITC

The standards talked about are not slated to be implemented until at least december 2008.

You can see Colin’s notes from his presentation at the following address:
http://moock.org/lectures/newInECMAScript4/

Here is a summary of what he covered in his talk, this is all covered in the link above but I thought that I would just post the items that interested me the most:

Structure Types
– record type
easier way to create custom object types, instead of using classes
– array type
ability to apply types to elements within arrays
– union types
gives the option of assigning one of several datatypes to a variable
ie: var x:(int|string) // x must be either an int or a string

Type changes:
It looks like byte, uint, int are being removed from ECMAScript but they will most likely stay in AS for the time being.
There are a series of new lower case types including string, number, and boolean
There are going to be non-nullable types that cannot be assigned the value of null, the idea is to save time in type catching.

Lexical block scoping lets you create variables without var, it allows you to create assign values to variables within code blocks. Check the lecture for an example, it looks like it would be useful if you have a temporary variable.

You will have the power to create single line functions in the same way that you can currently create a single like conditional statement.

!!= can be used to shorten variable assignment, can turn myVar = myVar || “default” to myVar !!= “default”

Type casting can be done using the operator “cast” ie: food cast Apple

Switch type can be used to test the type of variable in a switch statement to allow for multiple types and custom functionality for each

String indexing looks like it may be a little useful, you can access characters in a string the same way that you would access items in an array “test”[2] would produce “s”. Similarly you can use slice on a string to get a range of characters quickly.

Thats all for now.

FITC – Papervision Workshop / Kickoff

I am here in Toronto and glad to be here! I left a blizzard in Calgary to come to sunny Toronto and attend the Flash in the Can conference. Yesterday, I went to a Papervision 3d workshop run by Ralph Hauwert (www.unitzeroone.com) who showed us just how much can be done with 3d on the internet and he was kind enough to share some knowledge and code with the group.

I can’t say that I was blown away by what I saw and learned because it was a very low-level session but I believe that I am taking away a good base to start on my own projects with Papervision. I recommend similar workshops to anyone who doesn’t know much about Papervision and would like to see what it is about and get a good understanding of what it is and how to use it.

Following the full day workshop, I attended a little function in Kensington Market with a presenter from Graffiti Research Lab (graffitiresearchlab.com) that showed some of what they are all about and some of their latest works. It was quite inspiring to see what they have been up to and their methods.

To top off the night, the FITC kickoff party at the Burroughs was a lot of fun. The venue had a unique style that I am not used to seeing in Calgary. I had a good time talking with people from around the industry and meeting as many people as possible. It also gave me a chance to catch up with some old friends and co-workers that I don’t get to see since I moved to Calgary.

I am now sitting here on the official Day 1 of the conference waiting to hear what Colin Moock (www.moock.org) has to say about Actionscript 4.

Essential Actionscript 3.0 – Colin Moock

Essential Actionscript 3.0So, in light of the fact that I am going to be taking the Papervision 3d workshop in Toronto in about 10 hours, I figured that I would finally finish reading Essential actionscript 3.0. I have been trying to find as much time as possible over the last month to get through this wonderful book but haven’t had nearly enough. Turns out that a 4 hour flight from Calgary to Toronto was just what the doctor ordered.

I am forever in debt to the authors of such books and forever in awe of the knowledge that certain people have. This book showed me just how much I am behind the world of Actionscript and how much I have to learn viagra generico pre├žos.

I can only hope that with what I know now about coding and what I am learning over the next little while I can really learn to harness the power of Flash and start creating things that are exciting. This book has given me a very strong AS3 foundation to work from and I hope to be able to work on as many AS3 projects as possible so that I don’t lose any of what I have learned from reading through it.

Adobe Photoshop Express

Adobe Photoshop Express Beta has been released and seems to be following in the tracks of many new implementations of web applications such Aviary and Buzzword. They are currently offering a test drive option so you can go right in a play around, or you can register to get your own little space on there.

It seems like this is going to be a very useful application, it allows you not only to store you images online but also retouch them (and more). Adobe has included all of the standard functionality of online photo gallery application, including slide-shows and captions. They have also included a bunch of useful editing tools to touch up your photos. All-in-all it is a great direction and I have a feeling that this is just the tip of the iceberg.