After a couple of years of doing AS 1.0, I'm trying to step
up to OOP AS 2.0. I'm trying the very simple task of placing a
button on stage and assigning and event to it, but it's not
working. The only thing I get is a small gray rectangle. What am I
As a side note, does anyone know any good tutorials for basic
OOP with AS 2.0?
For the code to work you need to have a copy of the button
component in the library of the fla -> drag an instance of the
button component from the component window to the stage and delete
it from the stage -> the button component is now in the library.
Test your movie.