I have assigned a behavior to a button. The behavior button/source is on a different stack. It works fine. But a click on a movie player, on the same card, triggers the mouseUp handler in the behavior, which I don’t want to happen. It seems odd that this would happen, but I need to fix it.
My solution is to test whether the target is the button, or something else. I solved it by trapping the mouseUp message in a script on the player. However, I was trying to figure out how to get the behavior to give me the source/origin of the mouseUp message. I can get the name of the card using “the owner” but can’t seem to find the right syntax to get the name of the button that the behavior is attached to. This is probably trivial, but I’d appreciate any help. Thanks, Bill William A. Prothero Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ _______________________________________________ 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