Getting Loopy
Seems almost silly to ask but I have a simple animation with a loop.
- Frame 1 (0) code:
- var _this = this;
- _this.stop();
- var _this = this;
- _this.IndexNext1.on('click', function(){
- _this.gotoAndPlay('Indx1');
- });
This works.
On frame 100, if I use this code, it doesn't work:
- var _this = this;
- _this.gotoAndPlay('indx1');
However, if I send it to a different frame with this code, it works:
- var _this = this;
- _this.gotoAndPlay('repeat1');
I figure I'm missing a basic concept here, but I don't know what it is. Is there a better way to move the playhead to a labeled frame?
Thanks!
