This is a discussion on Problem with my "gotoAndStop(7)" "It's just showing the first frame of the 7(frame)" within the Flash English forums, part of the Flash CS3 - CS4 - CS5 category; Well , everything works fine with my (running and idle animation) gotoAndStop(1) or (2) and here is the code Code: ...
Well , everything works fine with my (running and idle animation) gotoAndStop(1) or (2) and here is the code
but for some reason when i try to fire with this code it's just show the first frame of the "7"actionCode:if (key.isDown(Keyboard.LEFT)) { runLeftRight= true; scaleX = -scale; gotoAndStop(3); x -= 3; }
I have the same problem for the jump animationCode://FIRE if(key.isDown(Keyboard.CONTROL)) { gotoAndStop(7); fireBullet(); }
It's seem that the animation is stuck on the first frame of the 7 action frame of my character.I just don't know why because all works fine with my idle and running animation.Code:if(key.isDown(Keyboard.SPACE)) { jumping = true; } if(jumping) { y -= jumpspeed; gotoAndStop(4); }
Last edited by pilouk; 02-02-10 at 01:37.
Bookmarks