Hello all,
For starters if anyone wants to see the fla i will post it,
Ok, i did the tutorial on firing (http://www.kirupa.com/developer/mx/fire.htm)
and i wanted to put in an enemy, that would play when hit,
basiccly i just quickly drew a rectangle and made it a movieclip,
i called it enemy, and put its instance name as enemy aswell,
( the bullets instance name is bullets), then i went into the enemy movieclip and made the first frame stop, and second playing the dying animation, then stopping on the fifth with nothing there. i put this code on the enemy movieclip but it wont work, as i am new to AS i dont really know what is wrong Please help!
onClipEvent(load){
if (_root.enemy, hittest(_root.bullets)) {
_root.enemy = gotoAndPlay(2);
}
}