Jump to content
Search Community

using motionBlur

alperica test
Moderator Tag

Recommended Posts

i downloaded new version of greensock. So i want to use "motionBlur".

 

//_logo is a movieClip.
TweenLite.to(_logo, 2, { delay:1, x:500, y:10, motionBlur:true } );

 

Also i checked motionBlur in TweenLite/Max Plugin Explorer. How can i use motionBlur correctly?

Link to comment
Share on other sites

Hi,

 

You also need to activate the plugin. From the documentation:

 

import com.greensock.*; 
import com.greensock.plugins.*; 
TweenPlugin.activate([MotionBlurPlugin]); //only do this once in your SWF to activate the plugin 

TweenMax.to(mc, 2, {x:400, y:300, motionBlur:{strength:1.5, fastMode:true, padding:15}}); 

//or to use the default values, you can simply pass in the Boolean "true" instead: 
TweenMax.to(mc, 2, {x:400, y:300, motionBlur:true}); 

 

http://www.greensock.com/as/docs/tween/ ... lugin.html

 

MotionBlurPlugin is a bonus plugin available to Club GreenSock members http://www.greensock.com/club/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...