how would i make my missile go to a second fram and stop thier when spacebar is pressed this is the code i currently have but its not working
if( Key.isDown(Key.SPACE) && shootLimiter > 8)
{
shootLimiter = 0;
root.Missile gotoAndStop (2)
var missile = _root.attachMovie(“Missile”,“Missile” + _root.getNextHighestDepth(), _root.getNextHighestDepth());
missile.x = x + 50;
missile.y = _y + 2;
}
its the _root.Missile part that is wrong