Share Posted December 4, 2012 I am try this code with Tweenmax but no working TweenMax.to(bandaroja,6,{scrollRect:{left:0, right:1024, top:0, bottom:512, startAt:{left:0, right:0, top:0, bottom:512}}, ease:Circ.easeOut}); I think all is well, I put the mark registration in the top-left I am using AS2 Thanks for help me Link to comment Share on other sites More sharing options...
Share Posted December 5, 2012 It appears you are nesting our startAt props inside the scrollRect properties Try this TweenMax.to(bandaroja,6,{scrollRect:{left:0, right:1024, top:0, bottom:512}, startAt:{scrollRect:{left:0, right:0, top:0, bottom:512}}, ease:Circ.easeOut}); Also, TweenMax has a fromTo() method which would work as well: TweenMax.fromTo(bandaroja,6, {scrollRect:{left:0, right:0, top:0, bottom:512}}, {scrollRect:{left:0, right:1024, top:0, bottom:512}, ease:Circ.easeOut}); in either case, its important to note that the scrollRect properties need to be set for the beginning and ending values inside their own object {} Link to comment Share on other sites More sharing options...
Author Share Posted December 5, 2012 I think there is a bug in the Plugin Explorer, because only show import com.greensock.*; import com.greensock.easing.*; and it should be: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.*; TweenPlugin.activate([scrollRectPlugin]); now ir working But I like me know it is possible move the movieclip, down to up, or right to left, I try change the mark registration but no working for me Thanks for support Link to comment Share on other sites More sharing options...
Share Posted December 5, 2012 Sure, you can move the movie clip while scrollRect is happening. Just be sure to set the x and/or y coordinates outside the scrollRect object: TweenMax.fromTo(mc,6, {scrollRect:{left:0, right:0, top:0, bottom:512}, x:0 }, {scrollRect:{left:0, right:1024, top:0, bottom:512}, x:100, ease:Circ.easeOut }); As for the PluginExplorer, I can see how you could have missed the activation code but it is available for all the plugins on the menu screen: (note that scrollRect is checked and the code is below) This makes it is easy to generate the activation code for multiple plugins at once. Link to comment Share on other sites More sharing options...
Author Share Posted December 5, 2012 Ok, thanks for support, I goto try 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