Put this on your sprites 1 and 2.
on mouseUp me
newLoc = sprite(me.spriteNum).loc
sprite(3).loc = newloc
end mouseUp
> Hi,
> Basically I want to move an object by clicking on the objec then clicking on
> the destination (no dragging).
> I have 2 sprites (1 and 2) acting as placeholders for a 3rd sprite(3).
> At start, sprite(3) is placed on sprite(1).
> When I click on sprite(2) then sprite(3) moves to sprite(2) using this code
> sprite(3).rect sprite(2).rect
> That works fine, except that sprite(3) quickly moves back to its original
> location.
> (Note: the playback head is held to the same frame with a go to the frame
> script.).
> Would appreciate any help.
> Thanks
>
>
> [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!]
>
Court Batson
[EMAIL PROTECTED]
http://www.bentmedia.com/
Bent Media, Inc.
128 South Clark Street
New Orleans, LA 70119-6103
(504) 488-2848 x21 Voice
(504) 488-2979 Fax
[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!]