Hello,
Im making a game with a gun in it (AK101, machine gun).
If you press the trigger, the gun start firing (sound), and bullets must disappear from the screen. If you release the trigger, the firing stops (got that), and the bullets must stop disappearing (failed in that). The firing sound lasts for 0.155 seconds.
I can let them all disappear if you press. But if you release the trigger, they won’t stop disappearing.
P.S.: I’m coding in AS2.