I am using a timer function in Flex
but it gives me a run time error.
my code looks like this:
import flash.utils.Timer;
public function fnname():void
{
if(x==150)
{
while (y==0)
{ x ++;
Timer(100);
}
}
}
the error i get is: Error #1034: Type Coercion failed: cannot convert 100 to flash.utils.Timer.