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.
Results for: flash
Support your user group…
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…
OOP4AS2#1: Classes and instances
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…
Lots of OOP in AS2.0 goodness
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…
A big sloppy thank you!
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…
_online and antiCache code snippets
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…
eFug Worldwide User Group Meeting
Tonight, the Edmonton Flash User Group participated in Macromedia’s first worldwide user group event, and I must say, I was impressed.
Code snippet: XMLNode.indexOn()
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…
