Jump to content
Search Community

suspend background processing during tweening?

regan test
Moderator Tag

Recommended Posts

you can have a function run when a particular tween starts that can then do whatever you want.

 

 

 

 

TweenLite.to(mc, 1, {x:100, onStart:killBg});

 

function kilBg(){

//whatever you need to do to suspendBackgroundProcessing

}

Link to comment
Share on other sites

Thanks for answer! But I am afraid, my question was a bit more specific :)

 

"suspendBackgroundProcessing" is a boolean type property of standart flex Effect class. Its purpose is to stop any background

processing on the animated object (like mouseOverEvents and so on). This can result in more smoother animations in some cases. My question is, whether this can be somehow turned on on TweenMx effect instances (perhaps it is turned on by default? Or perhaps turning on the property is impossible on Greensock instance?).

 

Jan

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