Jump to content
GreenSock

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

Reverse Movieclip

Recommended Posts

Hi,

 

Probably very simple but i cant seem to get my head around timelineMax.

 

I have a movieclip (spinY_mc) that i want to play backwards when i click a back button (back_mc).

 

back_mc has various conditions and is done as a Click event.

 

Can you help?

Link to post
Share on other sites

To play a movie clip backwards I would use the frame plugin.

 

Lots of info here:

http://www.snorkl.tv/2010/10/overview-of-tweenmax-framelabel-and-frame-plugins-nifty-way-to-play-a-flash-timeline-backwards/

 

You can certainly add a frame tween to a timeline too. 

import com.greensock.*;
import com.greensock.plugins.*;

TweenPlugin.activate([FramePlugin]);

var someTimeline = new TimelineMax();
someTimeline.to(mc, 1, {frame:30})
someTimeline.to(mc, 1, {frame:0})
Link to post
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.

×