Last year I started working with AS3, and after having some startup problems, I’ve made my first application in it (not online yet).
The strange thing is, I started a new project and when I had to make a button from a movieclip, I immediately wrote it in AS2… 🙁
That AS2 is embedded deep into my brain and probably more people have this problem.
So I started this series of post about the stuff that’s changed in from AS2 to AS3.
I will probably regurgitate what other people already wrote something about, but it’s my “travel” trough AS3 land.
onRelease
One of things I use in every application that I build is onRelease.
This is what the ActionScript 2.0 Migration has to say about this:
| ActionScript 2.0 | ActionScript 3.0 | Comments |
| onRelease() EventHandler | flash.display.InteractiveObject dispatches event: mouseUp | Replaced in the new event model by a mouseUp event. |
In AS2 I know 3 ways to use it: