-
[F8] help to score counter
I have some problems making a score counter in my flash 8 movie, so I hope somebody can help me!
The score counter should give the player a point, each time the player reach frame 40 or 50 in my movie.
First I created one dynamic textfield on frame 1 and called it scorecounter in the var field.
Then I wrote this code in frame one of my movie:
scorecounter = 0;
After this I wrote this code on frame 40 and 50:
onEnterFrame = function {
scorecounter++; //by the way it doesn`t help if I write: _root.scorecounter += 1 or ++;
}
but nothing happens when the movie enters frame 40 or 50. Anybody who knows why?
-
Senior Member
try this, let me know if it works for you
Last edited by EQFlash; 04-04-2008 at 09:29 PM.
If you don't think you're going to like the answer, then don't ask the question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|