Jump to content


timeline plays slowly on reverse

Recommended Posts



I'm currently working on an application with various menus which have an opening animation. I've created a timeline for each menu. To open the menu, I play() the timeline. To close the menu, I reverse() it. This worked on multiple cases, but I've been stuck with a menu which plays much slowly on reverse, even though I have stated "useFrames:true" and "ease:Linear.easeNone". I'll paste the code bellow:


var endframe : int = base.totalFrames-1;

var duration : int = base.totalFrames-1;

var tween : TweenMax = new TweenMax(mc, duration, {useFrames:true, frame:endframe, ease:Linear.easeNone});

var timeline : TimelineMax = new TimelineMax({paused:true, useFrames:true});



function OpenMenu(evt:MouseEvent)





function CloseMenu(evt:MouseEvent)





RESULT: the menu closes in slow motion, as if something was wrong, delaying the whole process. However, I've accomplished this successfully before. What am I missing here..?


Thank you in advance..!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.