Tracing intersect objects?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Howlernator
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 18
Joined: Wed Oct 13, 2010 4:44 am

Tracing intersect objects?

Post by Howlernator » Sun Nov 28, 2010 8:18 am

Hiya folks.

Any pointers on this one? I'm sure it's well travelled...im just having a brainspaghetti moment!

1 object (button) which is dragged onto any one of 5 other buttons with custom pngs as icons.

Im after a simpler way of identifying WHICH of have  the 5 objects is being intersected, so that I can run some conditional matching logic based on that. An elongated if/then structure seems innefficient here.

I want to set a bunch of props and hilite / switch graphics as a result of a 'match' on the initial drag....before it's released, an after.

(p.s Having a ball using animation engine for the dragging and bounceback UI - thanks Malte!)

Thoughts appreciated!
Warm regards,
A.

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Re: Tracing intersect objects?

Post by WaltBrown » Sun Nov 28, 2010 11:59 am

Walt Brown
Omnis traductor traditor

Post Reply