NewBee Posted May 5, 2013 Share Posted May 5, 2013 Hi - I am sure this is really easy but I can not see how I can use the TweenMax.to but play when I get to the frame. I have tried so many combinations. This is my TweenMax.to that will get me to the frame label, but pauses when it gets there. It is controlling a Movie Clip that has frame labels. function Park_Play(e:MouseEvent):void{ TweenMax.to(CharacterMovie, 0.5, {frameLabel:'Park'}); } Link to comment Share on other sites More sharing options...
jamiejefferson Posted May 5, 2013 Share Posted May 5, 2013 Would the following give you the effect you are after? function Park_Play(e:MouseEvent):void{ TweenMax.to(CharacterMovie, 0.5, { frameLabel:'Park', onComplete:function() { CharacterMovie.play(); } }); } 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