I have a class/object/movieclip called apc_missile. When the
missile hits something or runs out of fuel, I want it to explode.
The problem is, the explosion is a separate movieclip. How could I
"spawn" the explosion at the location the missile runs out of fuel.
Assuming that this._x and this._y are the rocket's coordinates.
Can anyone help?
Edit: here is a part of the code (you will find the "if
statement" at the very bottom)