responding to clicks in QT wired sprites?

Trevor DeVore lists at
Tue Sep 7 14:15:51 EDT 2004

On Sep 6, 2004, at 10:05 AM, Troy Rollins wrote:

> On Sep 6, 2004, at 12:56 PM, Trevor DeVore wrote:
>> As Troy and Klaus mentioned there are functions for interacting with 
>> wired sprites though no general action like hotSpotClicked which is 
>> triggered when any sprite is clicked.  Do you need a general message 
>> when a sprite is clicked or can you add a DebugStr or 
>> ApplicationNumberAndString message when creating the wired movies?  I 
>> don't know if QT sends a message whenever sprites are clicked but if 
>> you need something like this I can ask on the QT API list and see if 
>> it is possible.
> I believe there has to be some initiative sent by the QT, in one of 
> the forms you've mentioned. AFAIK, if the sprite is wired internally, 
> but does not generate a message in one of those forms, then there 
> isn't any way to "extract" the event.

Just an update on this.  It turns out you can trap mouse clicks and 
determine which sprite was clicked on and get all sorts of information 
about the sprite.  I'm not sure how I would use this yet but it is very 
interesting.  So in theory you could have a message passed to a 
controller whenever a sprite was clicked on with it's ID, etc.

Trevor DeVore
Blue Mango Multimedia
trevor at

More information about the use-livecode mailing list