AE倒计时表达式修改哪个参数可以改时间?? 现在倒计时是从3:00开始倒计时的,我想修改成3:36 100
framebase=1.0/comp("MusicVisualizator02").frameDuration;totalDuration=Math.round(comp...
framebase = 1.0/comp("Music Visualizator 02").frameDuration;
totalDuration = Math.round(comp("Music Visualizator 02").duration)*framebase;
frameAtTime = timeToFrames(t = time + comp("Music Visualizator 02").displayStartTime, fps = 1.0 / comp("Music Visualizator 02").frameDuration, isDuration = false);
countdownerFrame = totalDuration - frameAtTime;
seconds = Math.round(countdownerFrame / framebase)%60;
seconds < 10 ? secondsString = "0" + seconds : secondsString = "" + seconds;
minutes = Math.round(((countdownerFrame / framebase)/60-0.5)%60);
minutes < 10 ? minutesString = "0" + minutes : minutesString = "" + minutes;
timecodeDisplay = minutesString + ":" + secondsString; 展开
totalDuration = Math.round(comp("Music Visualizator 02").duration)*framebase;
frameAtTime = timeToFrames(t = time + comp("Music Visualizator 02").displayStartTime, fps = 1.0 / comp("Music Visualizator 02").frameDuration, isDuration = false);
countdownerFrame = totalDuration - frameAtTime;
seconds = Math.round(countdownerFrame / framebase)%60;
seconds < 10 ? secondsString = "0" + seconds : secondsString = "" + seconds;
minutes = Math.round(((countdownerFrame / framebase)/60-0.5)%60);
minutes < 10 ? minutesString = "0" + minutes : minutesString = "" + minutes;
timecodeDisplay = minutesString + ":" + secondsString; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询