Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: restricting mouse movements
From: Nathan Dicken
Date: Fri, 21 Apr 2000 20:31:07 +0100

Steven,

Something that you could do is add another short script that makes sure
that your mouse coordinates are still within the bounds of the movie. You
could put an invisible mc in the bkgd that covers to about 5px or so of the
edge of your movie and when your mouse-position mc goes outside of that,
disable the pointer. When the mouse enters the movie again just start up
monitoring the mouse position mc and pointer again.

Another idea would be to do the same thing as above with a hidden button
state and use Rollover/Rollout commands to disable/enable the mouse
position mc and the pointer.

Hope that helps...

Nathan Dicken
Fusionary Media



>I'm sure this must be easier than I'm making it!!!
>
>I have a small swf sitting at the bottom of an HTML page. I'm moving a
>pointer in the swf from side to side with the mouse using the mouse
>co-ordinates to control an mc. That's all fine, but when I move the mouse
>out of the swf at the bottom and into the main HTML page, the pointer still
>moves from side to side. I want to be able to turn that effect off when the
>user removes his mouse from the swf.
>
>Is there an easy way to do this? I hope so!
>
>Tia
>
>Steven Shand
>Sferics
>Internet Solutions


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: restricting mouse movements, Michael Dunn

Replies
  FLASH: restricting mouse movements, Steven Shand

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]