gskinner.com: gBlog: FlashMX 2004 source code, news, reviews and opinions
Back to gBlog Main gskinner.com website: source code, portfolio, etc. contact Grant Skinner

Syndication
RSS 1.0
RSS 2.0


Subscribe
Enter your email address to be notified when posts are added.

Archives
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003


Search

Flash Blogs
Waxpraxis
Philterblog
W3Blog
Jonas Galvez
Josh Dura
Quasimondo
Flashguru
Sean Voisen
Colin Moock
Flazoom
Greg Burch
Pope De Flash
Peter Hall
Glyn Thomas
actionscript.com
Princess Pegg

Aggregators
Flog
FullAsAGoog
MXNA
Hall of Justhese


Back to Main | October 2003 »

September 30, 2003

IMPORTANT NOTE: This is an old archive. It is only here to support outdated external links. To view the updated version of this archive, please go to the blog index, and search for the title of this document using the search form.

GDispatcher bug fixed.
Excerpt: I've uploaded a new version of GDispatcher that fixes a small error in the code that was causing a compiler error. You can download the new version here (1kb). There should be a beta 2 release in the next day...

Posted @ 03:36 PM by Grant | Comments (4) | TrackBack (1)

September 29, 2003


[code] GDispatcher: Event swiss army knife.
Excerpt: GDispatcher is an event engine that satisfies virtually all of my event engine wishes. It fully implements the mx.events.EventDispatcher interface, but adds features such as: subscribing to all events of an object; specifying a function to handle an event; removing all listeners for a specific event or all events; checking to see if a listener is already subscribed...

Posted @ 09:47 AM by Grant | Comments (6) | TrackBack (2)

September 25, 2003


Event dispatcher, the next morning
Excerpt: Ok, I have to post a bit of a retraction. While EventDispatcher is still a big improvement over previous event models, it's not quite as cool as I thought it was at 3am last night. Nothing ever looks quite as...

Posted @ 10:13 AM by Grant | Comments (5) | TrackBack (2)



OOP4AS2#6: Private members
Excerpt: This entry talks about using the private keyword to restrict access to members of a class. It should prove to be a fairly short topic, but there's more coming in the days ahead.

Posted @ 09:50 AM by Grant | Comments (2) | TrackBack (0)



Using eventDispatcher (it rocks!)
Excerpt: Tonight, chatting with Phil Chung, I ran into something I'm really impressed by: eventDispatcher. I thought I'd should provide an overview of it here, as it appears well thought out, and very flexible (though I'll probably write an extension to it to fulfill my short wishlist of missing features). Whoever thought this one up at Macromedia should be proud.

Posted @ 03:33 AM by Grant | Comments (13) | TrackBack (1)

September 20, 2003


More OOP4AS2 translations
Excerpt: Thanks to some wonderful multi-lingual Flashers, the Object Oriented Programming for Actionscript 2.0 series of posts is being translated into a plethora of languages. Currently, translations have begun in: Korean French Latvian Chinese Spanish Dutch German Brazillian Portuguese Links should...

Posted @ 01:33 PM by Grant | Comments (2) | TrackBack (0)

September 19, 2003


Passing arguments to super class's constructor
Excerpt: In AS2, you can pass parameters to a super class's constructor using super() . This is handy, but what if your constructor accepts an undefined number of parameters, and you want to pass them all to your super constructor (think of the Array class, for instance)? Sounds easy - you should just be able to use "super.apply(this,arguments)", right? Wrong...

Posted @ 02:16 PM by Grant | Comments (12) | TrackBack (0)



OOP4AS2#5: Inheritance (extends and super)
Excerpt: Entry #5 in this series will deal with implementing class inheritance with the "extends" and "super" keywords. In this post, I will focus on the syntactic details of inheritance in ActionScript 2.0, and will likely post my opinions and thoughts how to apply that syntax separately. Inheritance is a very important concept in Object Oriented Programming, as it allows for the development of highly modular and extensible code, which in turn reduces development time.

Posted @ 12:27 PM by Grant | Comments (3) | TrackBack (0)

September 17, 2003


Latvian OOP4AS2 translation
Excerpt: There is now a Latvian translation of the OOP for AS2.0 series of posts available at Flash.lv. Again, links to the translations will be posted in the comments as they are complete. Thanks to Darklow for doing the translations. The...

Posted @ 05:43 PM by Grant | Comments (1) | TrackBack (0)

September 14, 2003


OOP4AS2#4: Dynamic classes
Excerpt: Installment 4 of my series on Object Oriented Programming with ActionScript 2.0 covers dynamic classes - a relatively simple topic, but one worth being familiar with so as to avoid frustration. By default, the actionscript 2 compiler in FlashMX 2004 will not allow you to add new properties or methods to instances of a class. Attempting to do so will result in a compiler error.

Posted @ 09:15 PM by Grant | Comments (12) | TrackBack (2)



Korean translation of OOP4AS2
Excerpt: Zooil Yang is translating my Object Oriented Programming with Actionscript 2.0 series of posts into Korean, and posting them to feople.com. The first two posts are up...

Posted @ 11:54 AM by Grant | Comments (0) | TrackBack (0)



Important note on AS2 properties
Excerpt: I neglected to mention this important point in OOP4AS2#2 - when creating array or object properties for classes, you must initialize them in your constructor as with "goodList" below. The "badList" array property below will share the same data amongst all instances of the class:

Posted @ 11:47 AM by Grant | Comments (2) | TrackBack (0)

September 11, 2003


OOP4AS#3: Constructors
Excerpt: Installment 3 will build on the previous 2 parts (so if you haven't read them already, you should), by taking a look at how to create a constructor function for a class in ActionScript 2.0. A constructor lets you pass in parameters when you create a new instance of a class, and use those parameters to set properties and carry out operations on the new instance as it's created...

Posted @ 11:49 PM by Grant | Comments (9) | TrackBack (1)

September 10, 2003


Global search and replace
Excerpt: This has got to be one of the coolest new features in Flash MX2004: Global Search and Replace. Go to Edit, and select "Find..." and you will be shown the new search and replace panel. You can search for virtually...

Posted @ 03:49 PM by Grant | Comments (2) | TrackBack (0)



OOP4AS2#2: Class members
Excerpt: In installment 1, we learned how to define a class in AS2, and how to make instances of that class - if you didn't read installment 1, you should. Now, we're going to have a look at how to add members (properties and methods) to our class. We'll also have a quick look at using strict-typing.

Posted @ 11:14 AM by Grant | Comments (8) | TrackBack (1)



Support your user group...
Excerpt: Just wanted to make a quick post asking people to support their user groups if possible by purchasing MX2004 through the affiliate program. If your user group doesn't have a banner up, email the manager. If you're not part of a user group, but don't want those affiliate dollars going to line Macromedia middle management's pockets - the Edmonton Flash User Group could definitely put them to good use...

Posted @ 09:44 AM by Grant | Comments (0) | TrackBack (0)

September 09, 2003


A little house cleaning
Excerpt: Following my move to NetKeepers hosting, I had a lot of links and content go down due to case sensitivity. I've just gone through and fixed a lot of the problems. The 1000+ of you who tried to download gPathFinder while the link was broken will be happy to learn it is now back up.

Posted @ 05:49 PM by Grant | Comments (6) | TrackBack (0)



OOP4AS2#1: Classes and instances
Excerpt: This post on classes and instances begins my little exposé on ActionScript 2.0 and Object Oriented Programming. I won't be going into tons of detail (for that you'll have to buy the forthcoming "FlashMX 2004 Demystified" book from Macromedia Press!), but I'll be giving a basic introduction. In ActionScript 2.0, we have finally been blessed with an actual "class" keyword...

Posted @ 03:23 PM by Grant | Comments (11) | TrackBack (2)



Lots of OOP in AS2.0 goodness
Excerpt: In one month FlashParade in Marseille will be starting off, and it looks to be a great conference in a beautiful location! I'll be there, speaking on Object Oriented Programming for ActionScript 2.0 - which coincidentally is the topic of the chapter I contributed to the forthcoming "Macromedia Flash MX 2004 Demystified" from Macromedia Press. In order to whet your taste for both of them, I'm going to be running an exposé on OOP in AS2.0 on my blog. Over the next couple of weeks, I will be posting serial content on the new OOP keywords...

Posted @ 10:13 AM by Grant | Comments (1) | TrackBack (0)

September 06, 2003


A big sloppy thank you!
Excerpt: I just wanted to wish the whole Flash community a big sloppy thank you for all the support and interest I've received. I looked over my long term web stats for the first time in months today, and realized my humble home on the web has had over 200,000 visitors...

Posted @ 03:25 AM by Grant | Comments (3) | TrackBack (0)

September 05, 2003


_online and antiCache code snippets
Excerpt: These two source code snippets are great for when you're developing Flash content for delivery online, that will also have an offline component, or that you will be testing locally...

Posted @ 01:46 PM by Grant | Comments (9) | TrackBack (0)



World domination... Canadian style
Excerpt: Some really smart dudes in Toronto are working to "drastically alter the digital landscape" by creating a "catalyst of community". I'm not sure exactly what they're up to, but I do know that with the these guys it will be...

Posted @ 01:30 PM by Grant | Comments (0) | TrackBack (0)

September 04, 2003


eFug Worldwide User Group Meeting
Excerpt: Tonight, the Edmonton Flash User Group participated in Macromedia's first worldwide user group event, and I must say, I was impressed.

Posted @ 12:10 AM by Grant | Comments (1) | TrackBack (0)

September 03, 2003


Code snippet: XMLNode.indexOn()
Excerpt: I want to share a little code snippet that is possible the most useful 14 lines of code I ever wrote. It's a simple addition to the XMLNode prototype that lets you index and reference...

Posted @ 02:04 PM by Grant | Comments (5) | TrackBack (1)

September 02, 2003


So, what am I up to?
Excerpt: What has Grant been up to? Maybe you care, most likely you don't.

Posted @ 01:05 PM by Grant | Comments (1) | TrackBack (0)

September 01, 2003


Is there room for one more?
Excerpt: Well, due to urgings of friends/colleagues and my own interest in giving this blogging craze a try I have decided to join the plethora of Flash blogs. I won't promise scintillating new content, but I will try to maintain an...

Posted @ 11:14 PM by Grant | Comments (14) | TrackBack (0)



Hosting by NetKeepers.ca | Powered by Movable Type 2.661
The text content of this blog is licensed under a Creative Commons License. Graphics are ©2003 Grant Skinner.