Share Posted October 14, 2009 I am loading some variables in through XML. One of them is ease type ie: Expo.easeOut Since its a string in the XML, its not working when I put the XML node where the ease is supposed to go. I tried typing it to an object but that didnt work. Link to comment Share on other sites More sharing options...
Share Posted October 14, 2009 Have you tried using the EaseLookUp.as class? This might work: import com.greensock.easing.EaseLookup; TweenLite.to(mc, 1, {x:100, ease:EaseLookup.find("Expo.easeOut")}); Link to comment Share on other sites More sharing options...
Author Share Posted October 14, 2009 Ahh perfect..that is exactly what I needed 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