So, I'm trying to get used to OOP flash and I'm getting kicked even before I start.
I have the beginning of the class which is implemented as such
I have saved this in AuthorizeClass.as and include the class in test.swf like this:
#include "AuthorizeClass.as"
and I get this error:
AuthorizeClass.as: Line 1: Syntax error.
class AuthorizeClass extends Movieclip
What gives?
I have the beginning of the class which is implemented as such
Code:
class AuthorizeClass extends Movieclip
{
}
I have saved this in AuthorizeClass.as and include the class in test.swf like this:
#include "AuthorizeClass.as"
and I get this error:
AuthorizeClass.as: Line 1: Syntax error.
class AuthorizeClass extends Movieclip
What gives?