pr分镜头脚本模板_Flash脚本-变焦镜头

pr分镜头脚本模板

1. Open a new movie with a width of 400 and a height of 400, and a frame rate of 40/s.

1.打开一部新电影,其宽度为400,高度为400,帧速率为40 / s。

2. Import into Flash a picture of your choice that has the same length and width as the frame.

2.将与边框相同长度和宽度的所选图片导入Flash。

3. Convert the picture to a movieclip.

3.将图片转换为动画片段。

4. Name the current layer Image 80%.

4.将当前图层命名为80%。

5. Align the picture movieclip exactly in the center of the stage.

5.将图片动画片段精确对准舞台中央。

6. Using the transforming tool scale the size to 80%.

6.使用转换工具将尺寸缩放到80%。

1064_bird

7. Create a New layer name it "lens".

7.创建一个名为“ lens”的新图层。

8. In the new layer create a circle.

8.在新图层中创建一个圆。

9. Convert the circle to a movieclip give it an instance name "magnify".

9.将圆转换为动画片段,为其指定实例名称“ magnify”。

1064_tool1

10. Go to the timeline of "magnify".

10.转到时间表“放大”。

1064_tool2

11. Create a new layer and drag the picture movie on to the timeline. Align it the center of the stage.

11.创建一个新层并将影片电影拖到时间轴上。 将其对准舞台中心。

12. Drag the new layer below the old layer, as shown below.

12.将新层拖到旧层下,如下所示。

1064_tool3

13. Make the top layer a mask.

13.使顶层成为蒙版。

14. Next, go to the main time line, create three key frames as shown below.

14.接下来,转到主时间轴,创建三个关键帧,如下所示。

1064_tool4

15. In the first key frame, insert the action:

15.在第一个关键帧中,插入操作:

startDrag ("/magnify", true);

16. In the second key frame, use the action:

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

xx = getProperty("/magnify", _x);
yy = getProperty("/magnify", _y);
setProperty ("/magnify/bigpic", _x, 200-xx);
setProperty ("/magnify/bigpic", _y, 200-yy);

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

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

gotoAndPlay (1);

18. Play the movie! If you have followed these steps, you will get the result shown above!

18.播放电影! 如果执行了这些步骤,您将得到上面显示的结果!

19. By giving the action Mouse.hide() you can hide the mouse cursor.

19.通过执行Mouse.hide() ,可以隐藏鼠标光标。

翻译自: https://www.sitepoint.com/flash-script-zoom-lens/

pr分镜头脚本模板

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值