It probably depends on where the script is.

on mouseWithin me
   --
end

is best used in a behavior attached to a sprite. Then it will be 
called when the mouse is within that particular sprite.

If you want to detect which sprite the mouse is within from a movie 
script or some other global script you need to use

the mouseMember

to find out what member the mouse is within, and then figure out 
which sprite that uses that member.

-A.


>i want to give scripting facility to user by that he
>can make little changes in sprite property like color
>or position ect. for that i m useing the text of field
>"a" to the script of sprite 1.
>
>all is fine
>
>but when i use
>on mousewithin
>set the forecolor of sprite 1 to 6
>end
>
>its no effect
>
>but when i m use
>on mouseup
>set the forecolor of sprite 1 to 6
>end
>
>its work fine
>
>can't we give mousewithin command in our scripting
>text.




[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to