Share Posted July 6, 2013 Don't have a clue why i recieve a "Type mismatch" on the red line. The tween executes 5 times, because it receives by parameter, 5 different instances. When all of them are finished, i need to run "cargarpantalla" function. function mc(nombrecolumna){ TweenMax.staggerTo ( nombrecolumna.target.p, 3, {colorTransform:{ tint:0xFFFFFF, tintAmount:0.2 } }, cargarpantalla ); function cargarpantalla () { trace("hola") } Link to comment Share on other sites More sharing options...
Share Posted July 6, 2013 the staggerTo() method expects an array as the first parameter (because it's for staggering multiple objects to the same end values). I assume that maybnombrecolumna.target.p is not an array. You can change to a regular to() call instead if you want. Link to comment Share on other sites More sharing options...
Author Share Posted July 6, 2013 Thanks Jack, 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