Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
jacynnoru

reverse mc_xx

Recommended Posts

import com.greensock.TimelineMax;
function cabrasP(event:MouseEvent):void
{
if(mc_pan.currentFrame < 49)
{
 mc_pan.play();
}
else if (mc_pan.currentFrame > 49)
{
 mc_pan.timeline.reverse();
}
}

 

 

i have this but my mc cant, play in reverse, what can i do?

Link to comment
Share on other sites

Hi it isn't clear to me from your code exactly what you are trying to do.

 

Are you trying to play a movie clip timeline backwards or are you trying to control a TimelineLite or TimelineMax?

 

If using TimelineLite or TmelineMax please supply some of the code.

 

If you want to play a movie clips's timeline backwards you can learn about the frame plugin here: http://www.snorkl.tv/2010/10/overview-of-tweenmax-framelabel-and-frame-plugins-nifty-way-to-play-a-flash-timeline-backwards/

 

If you want to clarify a bit more what you are trying to do, we will do our best to assist you.

Link to comment
Share on other sites

this is exactly the answer I needed

  • Like 1
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.
×