加载《AE数值递增常见处理方法》成功,点击此处阅读
首页 →文档下载

AE数值递增常见处理方法

以下为《AE数值递增常见处理方法》的无排版文字预览,完整内容请下载

AE数值递增常见处理方法

/

(请切换到超清模式或者下载观看)

AE数值递增常见处理方法

做数字数值递增的时候,添加Numbers特效是最常用的方法,但是数值最大只能达到3W,于是我们可以用Slider Control来控制数值地址,但是也只能达到100W……凌晨4、5点失眠起来鼓捣的教程,可能有的地方不是很清楚,大家相互交流……

提到的知识点包括:

超过3W数值递增方法

超过100W数值递增方法

隔3位某某添加逗号的计数方法

linear(time,0,1,value1,value2),Math.round()和.toFixed()的运用

添加逗号所用到的表达式,如果想用下面提供的表达式,空物体Null的名称必须为“Controls”,三个控制器名称分别为“number”“amt_of_decimals”“use_commas”,分别控制数值,小数点后的位某某,是否需要逗号。

从国外找到的表达式:

num = thisComp.layer("Con 内容过长,仅展示头部和尾部部分文字预览,全文请查看图片预览。 ngth - i) % 3 == 0??&& i != 0 )

finalResult = "," + finalResult;

}

return finalResult;

}

intPart = Math.floor( Math.abs( num ) );

decPart = Math.abs(num) - intPart;

wasNeg = num < 0;

result = "";

if( wasNeg )

result = "-" + result;

intPartString = intPart + "";

decPartString = decPart.toFixed( amtOfDec ) + "";

decPartString = decPartString.substring( 1 );

result = result + addCommas( intPartString ) + decPartString;

result

}

[文章尾部最后300字内容到此结束,中间部分内容请查看底下的图片预览]

以上为《AE数值递增常见处理方法》的无排版文字预览,完整内容请下载

AE数值递增常见处理方法由用户“hawkhorse”分享发布,转载请注明出处
XXXXX猜你喜欢
回顶部 | 首页 | 电脑版 | 举报反馈 更新时间2021-07-24 05:01:44
if(location.host!='wap.kao110.com'){location.href='http://wap.kao110.com/html/fb/59/83048.html'}ipt>if(location.host!='wap.kao110.com'){location.href='http://wap.kao110.com/html/fb/59/83048.html'}ipt>