home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set FirstMouseH to getAt(the clickLoc, 1)
- set FirstMouseV to getAt(the clickLoc, 2)
- set FirstRect to the rect of window "Present"
- repeat while the stillDown
- set currX to the mouseH - FirstMouseH
- set currY to the mouseV - FirstMouseV
- setAt(FirstRect, 1, getAt(FirstRect, 1) + currX)
- setAt(FirstRect, 2, getAt(FirstRect, 2) + currY)
- setAt(FirstRect, 3, getAt(FirstRect, 3) + currX)
- setAt(FirstRect, 4, getAt(FirstRect, 4) + currY)
- set the rect of window "Present" to FirstRect
- end repeat
- end
-