i like "this me" less and less every time i read it. On Mon, Aug 24, 2020 at 11:30 PM Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote:
> Wouldn’t it just be “me”? And “this me” should be the behavior object. > > Sent from my iPhone > > > On Aug 24, 2020, at 11:19 PM, prothero--- via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > 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 > > _______________________________________________ > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ 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