Scrubbing timeline with slider - how to smooth it out?
i've created simple slider scrub through frames of mc named states. each frame has same mc (states) in different color.
i've setup slider using
slider.setsize(200,1);
slider.maximum=states.totalframes;
slider.livedragging=true;
slider.addeventlistener(event.change,updatemc);
function updatemc(e:event){
states.gotoandstop(slider.value);
}
i'd trainsition 1 frame next smooth there no blunt change when frames change. can add shapetween between frames creates smooth transition looking but, want slider stop on 5 main frames. can suggest how i'd accomplish either through code mod. or on timeline?
thanks in advance,
josh
the easiest solution might have suggested , when release slider "snap" nearest main frame.
of course doesn't take account if keep holding slider down , move slowly. in sense screen might stopped though still dragging slider.
i guess hard give advice without know content looks like, imagining, how user relate process , going out of it, etc.
More discussions in Adobe Animate CC - General
adobe
Comments
Post a Comment