0 Replies Latest reply on Aug 17, 2006 8:19 AM by TzKennedy

    Revealing sprites dynamically

    TzKennedy
      Hi,

      I've adapted the built-in behaviour 'Turn towards mouse' so that a ruler appears on my stage when the 'r' key is down and the user clicks and holds the mouse button down. It rotates around the point at which it was placed, and follows the mouse as long as the 'r' key (and mouse button) is down. What I want to add to this behaviour is revealing the ruler image dynamically as the pointer drags away from the point of origin. In other words, the finished effect will be to click anywhere on the stage and effectively 'draw' a ruler in the direction and to the length desired. Can anyone point me in the right direction?

      Many thanks,

      TzK.