Question
AS 3.0 Class question...
I've created a class in flash. I don't want to make the
document class this class because then I need to import the other
classes into this class that I'm using in my movie. I use a dummy
clip to bring the class into my movie.
On a button's function located in the fla, how do I call a function that is in that class? Or am I doing something wrong?
I have a class called "TestClass" and a function in it called init(); I just want to call init() from my main fla timeline, why doesn't this work?
init();
or
TestClass.init();
???
Thanks,
On a button's function located in the fla, how do I call a function that is in that class? Or am I doing something wrong?
I have a class called "TestClass" and a function in it called init(); I just want to call init() from my main fla timeline, why doesn't this work?
init();
or
TestClass.init();
???
Thanks,