Jump to content
Search Community

TimelineMax play to targetLabel via frameLabel: plugin?

HaunGo test
Moderator Tag

Recommended Posts

Can I not do this to a TimelineMax sequence?:

 

TweenMax.to(_myTimelineMax, 1, {frameLabel:_targetLabel});

 

 

I just want to set a framelabel, and have it animate, either forward to backward, directly to the label.. .. .. .. just like how the FrameLabel Plugin works for regular Tweens.

 

 

 

Thanks,

-B

Link to comment
Share on other sites

ok, so for reference..

 

 

//  THESE DO NOT WORK:

TweenMax.to(_myTimeline, 1, {frameLabel:_targetLabel});			
TweenMax.to(_myTimeline, 1, {currentLabel:_targetLabel });			

// BUT THIS DOES WORK:

var targetTime:Number = _myTimeline.getLabelTime(_targetLabel);
TweenMax.to(_myTimeline, 1, { currentTime:targetTime});	   [[[[[ edited ]]]]]	

 

 

I hope this helps someone.

 

-B

Link to comment
Share on other sites

Yea.. that was a typo mistake on my part:

 

It should have been:

var targetTime:Number = _myTimeline.getLabelTime(_targetLabel);

TweenMax.to(_myTimeline, 1, { currentTime:targetTime}); [[[[[ edited ]]]]]

 

I edited the original post too.

 

Thanks,

-B

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.
×
×
  • Create New...