Jump to content
GreenSock

Search the Community

Showing results for tags 'timelinemax restart'.

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello everyone, Im new here and got a probably a noobie question but can't handle it myself so here is it; import com.greensock.*; import com.greensock.easing.*; import flash.events.MouseEvent; var mc:myMC = new myMC(); addChild(mc); mc.x = -200; mc.y = stage.stageHeight/2; var tl:TimelineMax = new TimelineMax({paused:true,yoyo:true}); tl.append(TweenMax.to(mc,2,{x:stage.stageWidth+200,onComplete:geriSar})); function geriSar() { tl.reversed = ! tl.reversed; tl.resume(); } function Basla() { tl.play(); } baslat.addEventListener(MouseEvent.CLICK, animasyonBaslat); function animasyonBaslat(e:MouseEvent) { Basla(); } durdur.addEventListener(MouseEvent.CLICK, animasyonDurdur); function animasyonDurdur(e:MouseEvent) { tl.pause(); } yeniden.addEventListener(MouseEvent.CLICK, animasyonYenidenBaslat); function animasyonYenidenBaslat(e:MouseEvent) { tl.restart(); } I'm having trouble with this last MouseEvent. tl.restart doesnt work there and i don't get it why ? Thx for advise. Also i check other post's about this but didn't see soo
×