vim 光标上移脚本_Flash脚本-隐藏和更改光标外观

vim 光标上移脚本

Many Flash developers ask me how they can change the appearance of the user’s cursor as it moves across their Flash site. Here’s the answer!

许多Flash开发人员问我,当光标在其Flash网站上移动时,如何更改用户光标的外观。 这就是答案!

Before you begin, download the sample files here.

开始之前,请在此处下载示例文件

1. Let’s start by creating a cursor. In the sample file I’ve created a cross hair.

1.首先创建一个游标。 在示例文件中,我创建了一个十字准线。

2. Convert the cursor object to a movie clip.

2.将光标对象转换为影片剪辑。

3. Right click the cursor movie clip, and insert this action:

3.右键单击光标影片剪辑,然后插入以下操作:

onClipEvent (load)
  {
  startDrag ("", true);
  }

This action moves the cursor movie clip along with the cursor.

此操作将光标影片剪辑与光标一起移动。

4.In the default layer key frame, insert the action:

4.在默认的图层关键帧中,插入动作:

mouse.hide();

mouse.hide();

This action hides the mouse.

此操作将隐藏鼠标。

That’s it! Test the movie.

而已! 测试电影。

翻译自: https://www.sitepoint.com/change-cursor-appearance/

vim 光标上移脚本

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值