This content has been marked as final.
Show 3 replies
-
1. Re: counter
Petro O. Bochan Jun 9, 2010 11:39 AM (in response to Fumph)try
var i:Number = 0;
counter.text = ++i;
-
2. Re: counter
Fumph Jun 9, 2010 11:42 AM (in response to Petro O. Bochan)sorry didnt work, came up with:
"1084: Syntax error: expecting rightbrace before i."
-
3. Re: counter
Petro O. Bochan Jun 9, 2010 11:49 AM (in response to Fumph)Man, i didn't post the whole code, just the portion u might need help with. What u gave me is a syntax error which u should fix yourself. But my fault is that i didn't check out this was AS3, so try:
var i:uint = 0;
counter.text = String(++i);


