ThreeDollarBill
08-04-2009, 01:04 PM
i am making a simple "tank-type" game in flash using Actionscript 3..
the gun rotates according to the where the mouse is and it also fires bullets (which are movieclips dynamically added from the library)...
i would like to know the simplest way of detecting if the bullets are already outside the stage so i can call removeChild and remove them...
the gun rotates according to the where the mouse is and it also fires bullets (which are movieclips dynamically added from the library)...
i would like to know the simplest way of detecting if the bullets are already outside the stage so i can call removeChild and remove them...