手机动画脚本_Flash脚本-基本补间动画

手机动画脚本

Download the sample files here.

在此处下载示例文件

You can create a motion tween using one of two methods:

您可以使用以下两种方法之一创建补间动画:

  • Create the starting and ending keyframes for the animation, and use the Motion Tweening option in the Property inspector to create the effect.

    创建动画的开始和结束关键帧,并使用“属性”检查器中的“补间动画”选项创建效果。

  • Create the first keyframe for the animation, then insert the number of frames you want on the Timeline. Choose Insert > Create Motion Tween and move the object to the new location on the stage. In this case, Flash automatically creates the ending keyframe.

    为动画创建第一个关键帧,然后在时间轴上插入所需的帧数。 选择“插入”>“创建补间动画”,然后将对象移动到舞台上的新位置。 在这种情况下,Flash会自动创建结束关键帧。

To create a motion tween:

要创建补间动画:

1. Click a layer name to make it current.

1.单击图层名称以使其成为当前名称。

2. Select an empty keyframe in the layer, create an object, and convert the object into symbol.

2.在图层中选择一个空的关键帧,创建一个对象,然后将该对象转换为符号。

3. Create a second keyframe where you want the animation to end.

3.在要结束动画的位置创建另一个关键帧。

4. In the ending frame, do some modifications, such as moving an object’s position, changing its color, etc.

4.在最后一帧中,进行一些修改,例如移动对象的位置,更改其颜色等。

5. If the Property inspector is not visible, choose Window > Properties.

5.如果“属性”检查器不可见,请选择“窗口”>“属性”。

6. Select the first key frame. Choose Motion from the Tween pop-up menu in the Property inspector.

6.选择第一个关键帧。 从属性检查器的“补间”弹出菜单中选择“运动”。

You’re done! Test the movie.

你完成了! 测试电影。

翻译自: https://www.sitepoint.com/script-basic-motion-tween/

手机动画脚本

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值