Hi all, I’m wondering if someone could give me any pointers?
I’m in the process of wrestling with OOP. (And its proving pretty tough going!). What i would like to know is how exactly I can add movement to the objects I’ve added to the stage? I tried to add rollover/rollout events (which I’ve commented out) but it just threw up error messages??
What I’d eventually like to do is incorporate the TweenMax class (which rocks!) into it, maybe move the button or increase the scale, so any help would be fantastic!
Those lines didn’t work before because they were in the class initialization function (which runs before the constructor) and because you were outside of the scope in which btn1 was defined.