Hey Kevin,
on mouseDown
--You must subtract the offset of the sprite's left and top...
tClickedModel = sprite(x).modelUnderLoc(the clickLoc - point(sprite(x).left,
sprite(x).top))
if tClickedModel.name = "maggie" then
--do yer stuff here...
end if
end mouseDown
Regards,
Kraig
Macromedia
606 Townsend
San Francisco, California 94103
U.S.A.
-----------------------------------------
Macromedia CONFIDENTIAL AND PROPRIETARY
> -----Original Message-----
> From: Kevin McCarthy
> So,
>
> it should go something like this but i'm not i'm not sure of
> how it should
> be written..
>
> on mousedown me
>
> if clickloc = member(2).model("maggie") then
>
> beep
>
> end
>
> is this right not sure....
>
> -KEV-
>
[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!]