simple buttons to control timeLine confusion
Hi guys back again already. So I have a button, fire16, controlling the frames of another movieClip on the timeLine, instance named score, which is simply 0-1-2-3-4-5 dots over 6 frames to show the score.
this.fire16.addEventListener("click", fireSweet.bind(this));
function fireSweet()
{
var TP = this.score.timeline.position++;
this.score.gotoAndPlay(TP);
}
Well this code works well for first click, goes from frame 0 to frame 1 every time but after that it almost seems to go off random each new click. Any help would be much appreciated!
