Jump to content
Search Community

pigsInSpace

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by pigsInSpace

  1. Hi,

     

    I'm very new to both Flash and therefore GreenSock. My apologies in advance if I am asking something low level and obvious... we've all got to start somewhere right?

     

    I am trying to get the main timeline to return to the "home" label when the tween completes. Here's the code that isn't working. All help much appreciated.

     

    function goHome(evt:Event):void{
    gotoAndPlay("home");
    trace("working");
    }
    
    TweenMax.from(today01_mc, 14, {y:683, ease:Linear.easeNone, delay:1, onComplete:goHome});
    

×
×
  • Create New...