Hi I am making a bowling game. There is a moving bowling ball which had 50 frames. If they press it during current frame 25 one thing will happen but if they press it for example during frame 10 a different thing will happen. The code I am using is
on (release) {
if(_root.ball._currentframe == 1) {
_root.ballgutter1.play();
}else if(_root.ball._currentframe == 2){
_root.ballgutter2.play();
It works fine, but will take me ages to do for all 50 frames, is there a way to say if current frame == 2 4 6 10 and 12 . As this would save me time?
Hope someone can help
Lesley :lol: