Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 3:59 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ]  Bookmark and Share
Author Message
 Post subject: loop in a button
PostPosted: Sun Jan 01, 2006 10:48 pm 
Offline

Joined: Sun Jan 01, 2006 10:43 pm
Posts: 3
code:

tried for and do whil loop..

the amount is already set to 1.00

every time the user clicks on the "10p" button it deducts 10p

until it gets to 0 if its more then 0 its give change

if (e.getActionCommand().equals("10p"))
{
..can u help me what code goes here inc calculation
}

thank u


Top
 Profile  
 
 Post subject: please help
PostPosted: Mon Jan 02, 2006 4:47 pm 
Offline

Joined: Sun Jan 01, 2006 10:43 pm
Posts: 3
need help for the amount to decrement when a button is pressed


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley