Help

Subscribe to Help 2 posts

Sign in to reply


 
avatar for Sparkplug90 Sparkplug90 29 posts
Flag Post

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

 
avatar for Sparkplug90 Sparkplug90 29 posts
Flag Post

nvm i figured it out

Sign in to reply