Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DIRECTOR: HomeDirector ForumTagMotion Graphics

Re: mouse leave certain area not certain sprite

Cow Forums : Adobe Director
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: mouse leave certain area not certain sprite
by William McGrath on Nov 24, 2008 at 10:42:40 am

I'd draw an invisible rectangle over all three sprites and apply the script to that. Open the tool palette, select rectangle and at the bottom choose the dotted line, which means no line width.

Of course you could do it with coordinates, with something like

on exitFrame

--substitute the values for 100 and 200
if _mouse.mouseH < 100 or _mouse.mouseH > 200 or _mouse.mouseV < 100 or _mouse.mouseV>200 then
_movie.go("whateverFrame")
end if

The invisible rectangle might be less work, though.

---
william


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]