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?