javascript - Flash CC html5 canvas playback animation -
i'm trying make playback animation flash cc , html5 canvas
so when use
this.gotoandplay(200);
works great in forward linear animation scenario, if want go frame 200 frame 0, playback animation, or play animation backwards, possible?
any appreciated.
thanks
this 1 simple example:
var maxframe = 104 this.gotoandstop(maxframe) this.addeventlistener('tick', playreverse.bind(this)); function playreverse() { maxframe--; this.gotoandstop(maxframe) }
this go frame 104 , go frame 0. of course frame number check should added, etc ... idea.
Comments
Post a Comment