Jump to content

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

Search the Community

Showing results for tags 'follow movieclip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


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

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Personal Website



Company Website



Found 2 results

  1. Hi there, I would like to have the same effect as on this tutorial: https://codepen.io/PointC/pen/c07761a17f94434f1229e11e798f1a3d Everything is going well, except the drawing of the dashed line. I think I took all the necessary information, and even when I'm copying the code from codepen, the dashed line will not show up. If is remove the part 'mask="url(#theMask)"', the dashed path is showing up. Can somebody please help me? Thanks in advance! Below the result of my code:
  2. Hi, I have a script I wrote where there are going to be multiple soldiers fighting, (represented by rectangles). In this example, one rectangle runs away, another one follows it. Is this the most efficient way to write this? Can I use TweenLite for the follow part? -------------- import com.greensock.TweenLite; import com.greensock.easing.*; //rect 1 runs away TweenLite.to(object1, 4, {x:84, y:-160}); addEventListener(Event.ENTER_FRAME, loop); //rect 2 follows rect 1 function loop(e:Event):void{ if(object1.x<object2.x){ object2.x-=10; }else{ object2.x=object1.x; } if(object1.y<object2.y){ object2.y-=10; }else{ object2.y=object1.y-32; } }