Popinjay Posted January 28, 2012 Share Posted January 28, 2012 How would one go about tweening a threshold: Such as in the below statement if I wanted the ".8" to tween between say 0 and 1? bData.threshold(bData2,new Rectangle(0,0,bData2.width,bData2.height),new Point(0,0),">=", .8*0xFFFFFF, 0xFFFFFF, 0xffffff, true); Any help appreciated. Popin Link to comment Share on other sites More sharing options...
Popinjay Posted January 29, 2012 Author Share Posted January 29, 2012 nevermind, I just tweened an object I assigned a variable then tweened that with the onUpdate event (to call a routine to change the threshold with the variable on the object). Dunno if there is a better way or not. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now