vim 光标上移脚本_Flash脚本-光标技巧3:光标跟踪效果

vim 光标上移脚本

Download the sample files here.

在此处下载示例文件

1. Create a movieclip from any object. I used a circle.

1.从任何对象创建动画片段。 我用了一个圆圈。

1065_tool1

2. Give the movieclip instance a name. Here I’ve used "circle1".

2.给动画片段实例命名。 在这里,我使用了“ circle1”。

3. Create 3 keyframes as shown below:

3.创建三个关键帧,如下所示:

1065_tool2

4. In the first key frame, use the action:

4.在第一个关键帧中,使用以下操作:

startDrag ("str1", true);

5. In the second key frame apply the action:

5.在第二个关键帧中,执行以下操作:

count = count + 1;
if (count > 10)  
{ count = 1 }  
duplicateMovieClip ( "str1","str"&count, count );

6. In the third key frame, insert the action:

6.在第三个关键帧中,插入操作:

gotoAndPlay (2);

7. Bravo! You’ve made your own cool cursor tracking effect!

7.太棒了! 您已经做出了自己很棒的光标跟踪效果!

翻译自: https://www.sitepoint.com/cursor-tracking-effect/

vim 光标上移脚本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值