Hello
I get this error 1120: Access of undefined property OtherClass.
Ths is the code:
public class SomeClass extends MovieClip
{
function SomeClass():void
{
}
public function SomeFunction():void
{
var i:int = OtherClass.myVar;
trace(i);
}
}
public class OtherClass
{
public static var myVar:int = 2;
public function OtherClass():void
{
}
}
what am i doing wrong?