Share Posted July 7, 2014 Hi, I am looking for a way to create a banner that will work like this; 1. There is a image or button that is moving around in the banner and as soon as you hover over the image/button that movieclip/timeline will stop/pause on the current frame. The movement of the button will be looped until the hover is triggered. 2. Then I want another movie clip/timeline to start and keep playing until the end even if you still don't hover over that button. Is this possible to do using timelinelite in an easy way or is that any other way that you recommend me to try accomplish this? I am quite new to flash as2 programming so any type of help will be much appreciated! TIA!- Marcus Link to comment Share on other sites More sharing options...
Share Posted July 7, 2014 Sure, you have independent control of timelines... var timeline1 = new TimelineMax({repeat:-1}); var timeline2 = new TimelineMax(); timeline1.to(mc1, 1, {_x:100}); timeline2.to(mc2, 1, {_y:100}); btn1.onRollOver = function() { timeline1.pause(); } btn2.onRollOut = function() { timeline1.play(); } 1 Link to comment Share on other sites More sharing options...
Author Share Posted July 8, 2014 Thanks a lot! - Marcus Link to comment Share on other sites More sharing options...
Share Posted December 3, 2021 very help for my project too. Thanks! 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