Okay, here's a brute force approach for what I think you're asking
about. Put this in the card script.
You will need to deal with each special group you have like this.
local ingroup
on handleEnterGroup
-- handle entering the group
log "handleEnter"
end handleEnterGroup
on handleExitGroup
-- handle exiting the group
log "handleExit"
end handleExitGroup
on mousemove x,y
if x,y is within the rect of grp "test" then
if ingroup is false then
put true into ingroup
handleEnterGroup
end if
else
if ingroup is true then
put false into ingroup
handleExitGroup
end if
end if
end mousemove
That take care of what you want to do?
-Ken
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode