Hi again
There’s another thing I don’t fully understand in ActionScript 3 yet…
Let’s say I have a class that takes care of certain things (KeyPress events, to be specific). But when I want to access the functions inside this class, do I have to create a new instance of it?
I mean, I can do:
var myInstance = new myClass();
myInstance.myFunction();
delete myInstance
But that seems a little pointlessly complicated… For example, when I call Math.round() function, I don’t have to create a new instance of Math! Can’t I do this with my own classes as well?