hellomoto

10-22-2010, 08:42 PM

I'm working on an interactive game and need to show 2 teams score's in real time in graphical form. For now I'm just going to use the keyboard as input, but eventually it will be something else.

What I need is for there to be a vertical bar graph that goes up each time a certain key is clicked. So if team 1 is the A key and team 2 is the L key, I need two bar graphs to go up each time A or L is pushed. If no key is pushed for a period of time (3 seconds or so) I need the graphs to slowly go back down. The point is that the teams must continually push their key to fill the graph, get to the top and win. If they stop pushing, their score goes back down.

I hope this makes sense.

I'm pretty new at actionscript, so any ideas or help or other things to look at is very appreciated! thanks in advance!

What I need is for there to be a vertical bar graph that goes up each time a certain key is clicked. So if team 1 is the A key and team 2 is the L key, I need two bar graphs to go up each time A or L is pushed. If no key is pushed for a period of time (3 seconds or so) I need the graphs to slowly go back down. The point is that the teams must continually push their key to fill the graph, get to the top and win. If they stop pushing, their score goes back down.

I hope this makes sense.

I'm pretty new at actionscript, so any ideas or help or other things to look at is very appreciated! thanks in advance!