mousecolor problem?

J. Landman Gay jacque at hyperactivesw.com
Tue Jun 5 17:42:45 EDT 2007


Jim Lambert wrote:

> on mouseup
>   put the mousecolor && "*" && the backgroundcolor of me
> end mouseup
> 
> With this script in a rectangle graphic, clicking produces:
> 
> 0,127,255 * 44,255,34

I get the same values for both.

> 
> Why would the mousecolor not equal the backgroundcolor of the graphic?

Have you applied any blending to the graphic? If so, the backcolor is 
the original color but the mousecolor will reflect the blend.

> In fact clicking in different parts of the graphic (which is a solid 
> green in this case) produces differing values for the mousecolor even 
> though it's all the same green!
> 
> Also,
> 
> on mousedown
>   put the mousecolor
> end mousedown
> 
> in the script of a card that is entirely empty (white) produces varying 
> values none of which is 255,255,255.

I'm only getting 255,255,255 no matter where I click on the card.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list