# Can someone help me with code for a scoreboard

**URL:** https://forum.kirupa.com/t/can-someone-help-me-with-code-for-a-scoreboard/324061
**Category:** Uncategorized
**Created:** [July 31, 2011, 2:12am UTC](https://forum.kirupa.com/t/can-someone-help-me-with-code-for-a-scoreboard/324061 "2011-07-31T02:12:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fastboy619](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@fastboy619](https://forum.kirupa.com/u/fastboy619)
#### Post date: [July 31, 2011, 2:12am UTC](https://forum.kirupa.com/t/can-someone-help-me-with-code-for-a-scoreboard/324061/1 "2011-07-31T02:12:46Z")

</div>

can someone give me a code for a scoreboard  
i made my score board like this  
i made a movie clip named score board in that i have 12 text boxes 6 are for names  
en 6 are for scores  
the names of the 6 boxes for the score are: score1  
score2  
score3  
score4  
score5  
score6

the names of the 6 boxes for the name are: user1  
user2  
user3  
user4  
user5  
user6

and in the begining of my game there is a text box that asks your name  
that text box name is: inputN  
and A submit button the submit button name is: closepopup  
and my score is made like this  
var Score =0;  
if(player.HittestObject(coin))  
{  
Score ++;  
}

addEventListener(Event.ENTER\_FRAME, go);  
function go(event:Event):void  
{  
score.text = “Score:” + Score;  
}

thats it  
thanks
