Create an alpha rectangle with mousedrag

e.g.

  1. You make a rectangle and it sits on the stage.
  2. You then convert it to a mc and set it to alpha 0%.
  3. You want the mc to follow anywhere your mouse pointer goes but you also want it to only move inside the fla doc’s size (ie. the mc cannot disappear if you mouse your mouse outside the fla document area).

How can you create step 3? (see http://www.hollyvalance.com for visual representation)