need help with this, this is my code for going to the attack frame:
PHP Code:
[LEFT][COLOR=#000000][COLOR=#0000bb][/COLOR][COLOR=#007700]if([/COLOR][COLOR=#0000bb]Key[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]isDown[/COLOR]COLOR=#007700){
[/COLOR][COLOR=#0000bb]this[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]gotoAndPlay[/COLOR]COLOR=#007700
}
[/COLOR][COLOR=#0000bb][/COLOR][/COLOR][/LEFT]
When you press z it should play the attack frame but it freezes on the first frame. I attached the file.Also how do you make a delay between attacks?