LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-12-2002, 05:12 PM
mazwat mazwat is offline
Registered User
 
Join Date: Feb 2001
Location: Nottingham, UK
Posts: 18
Rep Power: 0
mazwat is on a distinguished road
Aid how to stop incrementing?

I am creating a car game and I have developed a collision detection engine to tell whether the front or the back of the car has hit a wall or another car.

This is so I can send the car movieclip to a particular frame to display the type of damage it has recieved.

The problem is it all happens in an IF statement and once it has hit any wall the damage variable keeps incrementing because the condition remains true and I only want it to increment once per hit.

I have included the FLA for the game. If my ramblings make no sense.

Basically I want an increment to execute only once even if the conditon remains true.

Any help would be great.

Maz
Attached Files
File Type: zip cargame.zip (21.3 KB, 11 views)
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
stop sound azfused Flash 8 2 04-02-2009 06:34 PM
movie clip stop auto play tiaka Newbies 3 07-08-2006 12:23 AM
stop / play / stop digitalecartoon Newbies 1 08-16-2005 04:41 PM
How to stop and play movieclips cayohueso Newbies 1 01-12-2005 09:37 AM
Play and Stop actions cub4 Newbies 4 11-09-2001 11:16 PM




All times are GMT. The time now is 10:45 PM.