I'm very new in gaming programming (Flash Lite 2.1)
I'm doing a mancala (cong kak) game
Thus i have 12 movieclips.
     
     
lets assume this is the mancala board...  - are buttons, label number is movieclip, inside this movieclip will have balls, from 0 to at most 36. So i want click one button (indirectly click movieclip) and let the movieclip add balls.
Example. inside 1 got 3 balls, click 1, become 0 ball, it will go to 2 and drop 1, den go to 3 to drop 1, den go to 4 to drop 1...
1) how to detect key pressed and just remove ball accordingly and add balls?
2) how to detect the last ball? cox i need the last ball to determine whether the player lose turn or have another turn....
any ideas?? thanks..
use .onPress or .onRelease to detect key press on movieclips...
go through this help page.. may come handy