Jump to content
Search Community

autoAlpha not performing as expected

timaging test
Moderator Tag

Recommended Posts

ok, so I have this scene. I'm calling a movie clip that has several 3D motions in it around 30 seconds in:

 

http://www.taylorimaging.com/clientArea/agentPortal/

 

this is the code:

 

//intro03out =========================================================================================================;
Screen02Header.stop(); //your MovieClip
TweenMax.delayedCall(32, Screen02Header.play);

TweenMax.to(endCopy01,  4, {delay:37, autoAlpha:1, blurX:20, blurY:20, ease:Quint.easeInOut});

//intro03out =========================================================================================================;

TweenMax.to(Screen02Header,  1, {autoAlpha:0, motionBlur:true, ease:Quint.easeInOut, delay:50});

TweenMax.to(endCopy01,  1, {y:"-20", autoAlpha:0, motionBlur:true, ease:Quint.easeInOut, delay:50});

//intro03out =========================================================================================================;

TweenMax.from(OClogo,  2, {autoAlpha:0, blurX:20, blurY:20, ease:Quint.easeInOut, delay:51});

TweenMax.from(replayButton,  2, {autoAlpha:0, blurX:20, blurY:20, ease:Quint.easeInOut, delay:52});

 

notice that it doesn't fade out.

 

Dave

Link to comment
Share on other sites

Ah yes, the problem is that you've got 3D properties applied to your object AND a motionBlur but [as mentioned in the ASDocs] there's a bug in Flash that prevents objects with 3D properties from rendering properly with motionBlur. One way you can verify the bug is by setting the coordinates of your object to a very large x/y position (like 20000) and then getBounds() in its parent like target.getBounds(target.parent) and you'll see that everything is zero.

 

In your animation, however, you don't even need a motionBlur because you're not tweening the x/y coordinates. So simply remove motionBlur:true from your tween and you should be fine.

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...