模糊吐温在AS3 [英] Blur Tween in AS3

查看:136
本文介绍了模糊吐温在AS3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有一个影片剪辑慢慢模糊了几秒钟。是否有某种方式来做到这一点,而无需使用中间人或其他一些外部类?我只希望使用Tween类。

I wish for a movie clip to slowly blur over a couple of seconds. Is there some way to do this without using Tweener or some other external class? I only wish to use the tween class.

在code我目前用的是下面,但是这并没有做到这一点渐渐地,偏偏模糊上像一个开关:

The code I use at the moment is below, but this doesn't do it gradually, just turns the blur on like a switch:

var blur : BlurFilter = new BlurFilter();
blur.blurX = 4;
blur.blurY = 4;
blur.quality = BitmapFilterQuality.HIGH;
chrNicky.filters = [blur];

我需要模糊的情况发生了两秒钟的过程。

I need the blur to happen over the course of two seconds.

干杯, 丹

推荐答案

您可以看看下面的文章我写了几年前:

You can check out the following article I wrote few years ago:

添加定向运动模糊猿(如物理引擎)

我的文章还包括一个孤立的Flex-示例演示如何定向运动模糊添加到补间。此外,它解释了如何执行工作的原则。

My article also includes an isolated Flex-sample which demonstrates how to add directional motion blur to a tween. Also it explains the how the implementation works in principle.

下载定向运动模糊采样

这篇关于模糊吐温在AS3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆