Timeline duration
hello!
i'm working canvas/js in animate cc
is possible duration of timeline (second or frames)? have make progress bar, haven't idea this. can me?
thanks!
you can use currentframe , totalframes properties of movieclips that.
for example, horizontal progress display (progress_bar fill_mc fill_mc has left side reg point);
var tl=this;
var mc = movieclip timeline play-progress wish display
createjs.ticker.addeventlistener('ticker',f);
function f(e){
tl.progress_bar.fill_mc.scalex=tl.mc.currentframe/tl.mc.totalframes;
}
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment