18
Jun
ActionScript 3.0, away!
I'm pretty much back to where I was before I started the upgrade to ActionScript 3.0, with a greater knowledge of Flash in general and ActionScript in particular, which feels good. Now I can really start getting into the meat of the gameplay.
The thread I posted yesterday had quite a few useful tidbits, two of which spring to mind as not being necessarily obvious (at least, they were things I overlooked):
- All classes need to go within a package {} block
- Don't forget to put 'public' at the start of your classes, or you'll get an error
- Event handling functions require an Event object parameter
Just a few things that tripped me up, so hopefully anybody reading this and looking into ActionScript 3 won't spend too long trying to figure out what their problem is.