flash時鐘代碼
_root.onEnterFrame = function() {
var mydate = new Date();
setProperty("shizhen", _rotation, mydate.getHours()*30+mydate.getMinutes()*0.5);
setProperty("fenzhen", _rotation, mydate.getMinutes()*6);
setProperty("miaozhen", _rotation, mydate.getSeconds()*6);
};
在影片剪輯裏寫上影片實名如:fenzhen,然後在場景中的所在偵上插入代碼
var mydate = new Date();
setProperty("shizhen", _rotation, mydate.getHours()*30+mydate.getMinutes()*0.5);
setProperty("fenzhen", _rotation, mydate.getMinutes()*6);
setProperty("miaozhen", _rotation, mydate.getSeconds()*6);
};
在影片剪輯裏寫上影片實名如:fenzhen,然後在場景中的所在偵上插入代碼
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
STM32 開發中 Keil 使用 Astyle 自動格式化 整理代碼
yltzdhbc
2020-06-25 22:47:29
代碼整理-AppDelegate 中
比上不足
2020-06-22 15:27:17
data-understan
weixin_43473864
2020-06-16 02:28:55
[代碼整理] 使用zxing生成二維碼並前臺顯示!
Pratise
2020-06-09 16:38:03
SQL-SERVER語法特性
大海1010&&
2020-02-22 14:13:27
ExtJS 上傳下載控件
kyq叶鑫
2020-02-22 01:45:15
給MFC程序添加文件拖放處理
liyiwen007
2020-02-21 15:16:07
STM32 開發中 Keil 使用 Astyle 自動格式化 整理代碼
yltzdhbc
2020-06-25 22:47:29
代碼整理-AppDelegate 中
比上不足
2020-06-22 15:27:17
data-understan
weixin_43473864
2020-06-16 02:28:55
[代碼整理] 使用zxing生成二維碼並前臺顯示!
Pratise
2020-06-09 16:38:03
SQL-SERVER語法特性
大海1010&&
2020-02-22 14:13:27
ExtJS 上傳下載控件
kyq叶鑫
2020-02-22 01:45:15