Re: Script being inherited by other objects; bug?

2007-11-06 Thread Dave Cragg
Hi Judy I just realised it was yourself. Well, don't I feel stupid now? ;-) We all know that feeling. But I learned something while answering your mail. To check what I wrote, I used an image with a transparent middle. (Like a doughnut.) As you pass the mouse over the transparent part,

Re: Script being inherited by other objects; bug?

2007-11-06 Thread User
Well, don't I feel stupid now? ;-) I could figure out work-arounds but wanted to understand why it was happening. Like I said, my Rev brain has been parked for a while... Time to go back and revisit Richard's stack on the subject! Thanks! Judy On Tue, 6 Nov 2007, Dave Cragg wrote: On 6

Re: Script being inherited by other objects; bug?

2007-11-06 Thread Dave Cragg
On 6 Nov 2007, at 22:35, User wrote: Thanks, Dave, Are the mouseEnter/mouseLeave handlers in the group script or the image script? If they are in the group script, this doesn't sound like a bug (apart from the crash). If you have backgroundBehavior turned on, messages will pass from ob

Re: Script being inherited by other objects; bug?

2007-11-06 Thread User
Thanks, Dave, Are the mouseEnter/mouseLeave handlers in the group script or the image script? If they are in the group script, this doesn't sound like a bug (apart from the crash). If you have backgroundBehavior turned on, messages will pass from object to card to background (group). So a mo

Re: Script being inherited by other objects; bug?

2007-11-06 Thread User
That's what Mark was telling me... But they were not. I thought you needed a pass statement for the message to be passed. Mind you, I haven't done much with Rev in more than a year but I didn't think my brain had deteriorated that much :-/ Judy On Tue, 6 Nov 2007, Len Morgan wrote: Were t

Re: Script being inherited by other objects; bug?

2007-11-06 Thread Dave Cragg
On 6 Nov 2007, at 21:22, User wrote: I have a script attached to an image of a green arrow that I've turned into a group with background behavior that also uses a mouseEnter/mouseLeave with cursor changes. Problem is: the cursor change happens with ALL visible images, even thouse not hav

Re: Script being inherited by other objects; bug?

2007-11-06 Thread Len Morgan
Were the other images copied from the green arrow image? I'm thinking it may have something to do with the background behavior. len User wrote: I have a script attached to an image of a green arrow that I've turned into a group with background behavior that also uses a mouseEnter/mouseLeave

Re: Script being inherited by other objects; bug?

2007-11-06 Thread Mark Schonewille
Hi Judy, This sounds like a recursion problem. I wouldn't say it is a bug, yet. Want to send me the stack as well? Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Quickly extract data from your HyperCard

Script being inherited by other objects; bug?

2007-11-06 Thread User
Hi everyone, I'm working on some very simple storybooks in Rev for my children to help them learn to read. These stacks have text (each word is its own field) that have scripts attached to change the cursor to a hand, change the foregroundcolor of the text to red, and use revspeak to speak