use the mouseH and mouseV instruction
example:
--
global mouseHorz, mouseVert
on enterFrame
set mouseHorz = the mouseH
set mouseVsert = the mouseV
end
on exitFrame
checkmove
go to the frame
end
--
--(checkmove handler)
global mouseHorz, mouseVert
on checkmove
if mouseHorz <> the mouseH then
something
end if
if mouseVert <> the mouseV then
something
end if
end
---
> From: Jon Paul Alongi <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 29 Nov 2000 19:03:44 -0000
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: <lingo-l> Mouse movement
>
> hi im new to games....
> ive managed to put some control over a charecter and it follows the
> mouse....
>
> how can i get director to DETECT mouse movement so it can play a film
> loop....
>
> thanx
> jon
>
>
> [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!]
[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!]