ForumsProgramming ForumTwo Unknown AS2 Errors

11 4522
IQAndreas
offline
IQAndreas
299 posts
Peasant

I tried executing the following code:

public const MAXSCROLLSPEED:int = 50;
public const MINSCROLLSPEED:int = -50;


The first line received this error:
A member attribute was used incorrectly.

And the second line gave this error:
Attribute used outside class.

Could anyone help tell me what I'm doing wrong?
  • 11 Replies
Showing 16-15 of 11