how to pass variable value betewen timeline animate html5??
HI. NEED YOUR HELP.
THE MOST SIMPLE, I HAVE A BUTTON TO JUMP TO THE NEXT FRAME (NEXT) AND I HAVE A DYNAMIC TEXT (SCORE).
THE CODE IN THE FIRST FRAME "index label" IS THIS
this.stop();
var _this = this;
this.next.on('click', function(){
_this.gotoAndStop('pag1');
});
//I generated the variable "count" to later add
var count = 1;
this.score.text = count;
IN THE SECOND FRAME "pag1 label" I HAVE ONLY THIS
this.stop();
this.score.text = count;I JUST WANT IT TO WORK AT CLIP LEVEL, AND ALREADY TRY USING THIS
this.count = 1;
BUT IT DOESN'T WORK, MAYBE IT'S BECAUSE I DO NOT KNOW WHERE TO PUT IT EXACTLY
WHAT SHOULD I PUT IN FRAME 1 SO THAT FRAME 2 STILL HAVE THE SAME VALUE?
