Post
by Mark » Wed Sep 01, 2010 6:28 am
Seraphim,
The lack of punctuation makes it rather difficult to read your question.
Can you tell a little more about the purpose of your project? My first thought is that you can check the mouseColor after the mouse moves and can move the mouse back if the color is wrong. However, this is very unelegant and probably slow.
If this is supposed to work with multiple monitors, then you probably will want to search for a different development platform. It won't work.
Do you realise that photos may contain 16777216 different colours? That's a tad more than the 100 colours mentioned by you. You will probably want to write an algorithm to determine if the mouseColor is within a range of colours,e.g. 5±5,5±5,250±5 for blue.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode