Jump to content
Search Community

Search the Community

Showing results for tags 'addcallback'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 2 results

  1. Hi there, I have a problem with call the function via addcallback. Maybe someone from you had similar problem and know solution. Is it posiible to for timeline paused using seek method, to call the function added via addcallback? Unfortunately now it doesnt work and it isn’t calling the function added via addcallback. Thanks a lot for help. Regards, Maciej
  2. Hi, Package: GSAP 12 AS I'm trying to use the addCallback function like this: public function Main() { // instantiate new TimeLineLite tl = new TimelineMax({}); tl.append(TweenMax.from(optie_1, .5, {alpha:0, ease:Back.easeOut})); tl.addCallback(swapOne, tl.duration); tl.append(TweenMax.from(of, .5, {alpha:0, ease:Back.easeOut})); tl.append(TweenMax.from(optie_2, .5, {alpha:0, ease:Back.easeOut})); tl.append(TweenMax.from(actie, .5, {alpha:0, ease:Back.easeOut})); } function swapOne(){ trace ("addCallback works"); tl.appendMultiple([ TweenMax.to(beeld_1, .5, {alpha:0}), TweenMax.to(beeld_2, .5, {x:180, alpha:1, ease:Back.easeOut}) ], .2, TweenAlign.NORMAL, 1); } Problem is that addCallback runs after the other tweens. I've read and watched tuts but can''t find what i'm doing wrong. What concept am i missing? Thanks in advance T.
×
×
  • Create New...