i dont know if its possible to make in flash, which i would find very hard to believe…i just wanted to display a model of a car bieng accelerated by magnets…its going from left to right on the screen…the start out speed is slow…but it as it comes close to a magnet, it draws it toward it and then right next to the positive magnet their is a negative on which repels it, thus making acceleration, the second model is the exact opposite, braking…the magnet places are switched…negative first and then positive…the only way i can think to make this is to subtract the x position of the car and the magnet and tell it if its within a certain amount of units, then to increase the pace which it travels accross…then to add resistance (which is very simple)…
here is a really poor diagram on how i plan to set it up
acceleration
CAR–> + - ± ± ± ±
**deceleration
**CAR–> -+ -+ -+ -+ -+
thanks for all your help