>on mouseDown
> set clickedSprite = the clickOn
> set theMem = the member of sprite clickedSprite
> set the member of sprite 48 = theMem
> set the member of sprite clickedSprite = "dummy"
> repeat while the stillDown
> set the loc of sprite 48 to the mouseLoc
> updateStage
> end repeat
> set the loc of sprite clickedSprite = the mouseLoc
> set the member of sprite 48 = member "dummy"
> set the member of sprite clickedSprite = theMem
>end
Mark's routine is almost the same as mine:
on mousedown
set the member of sprite 48 to the member of sprite the clickon
set the loc of sprite 48 to the loc of sprite the clickon
set the loc of sprite the clickon to point(10000,10000)
repeat while the mousedown
set the loc of sprite 48 to point(the mouseh,the mousev)
updatestage
end repeat
puppetsprite the clickon,true
set the loc of sprite the clickon to the loc of sprite 48
set the loc of sprite 48 to point(10000,10000)
end
only he opted for changing the member. He also forget a couple of the
things I pointed out! The mouseloc didn't appear until D7, and
auto-puppeting didn't appear until D6.
One strange thing is that I sent my message last night (Thursday),
right after the original post. Not sure why it hasn't appeared yet,
or how long this one will take.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]