Detect colour beneath an img object
barry_barber at yahoo.it
Sat Jun 21 14:21:56 CDT 2008
Thank you Eric, but nobody is using the mouse in this part of the game.
think I need a script in the card that passes a message to each of
several objects to determine which is above the given colour.
knew I should'nt have asked this silly question but I can't find any
property/attribute like "under", [underneath], [below], [beneath] in the docs!
As usual I have a beautiful UI that I'm not capable of scripting. :-(
>This question will probably (I hope) be easier for some of you to answer than for me formulate!
>I am trying to detect when the colour changes below the loc of an image (png) object lying
>above another of the same type. The catch is that the top img would "see" the underlying one
>through a hole in another png which is on an intermediate level between the two of them!
>To put it another way: there are three png images directly superimposed, the one on the middle
>layer has a 'hole' in it and I need the top layer to detect when it is over the hole (i.e., detect the
>change in colour beneath it's loc).
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
More information about the use-livecode