Re: unexpected behavior 'on mouseup'
On 11/28/06 6:27 PM, Jim Ault [EMAIL PROTECTED] wrote: Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp Because in actuality, it *doesn't* contain the script. The new button has no script, but when you open the script in the Script Editor, Rev adds the on mouseUp ... end mouseUp for your (theoretical) convenience. So if you cancel out of the Script Editor and don't Apply, the button remains with no script in it, so the message passed through the hierarchy. Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: unexpected behavior 'on mouseup'
On 11/29/06 7:14 AM, Ken Ray [EMAIL PROTECTED] wrote: On 11/28/06 6:27 PM, Jim Ault [EMAIL PROTECTED] wrote: Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp Because in actuality, it *doesn't* contain the script. The new button has no script, but when you open the script in the Script Editor, Rev adds the on mouseUp ... end mouseUp for your (theoretical) convenience. So if you cancel out of the Script Editor and don't Apply, the button remains with no script in it, so the message passed through the hierarchy. I guess the confusing part is that the Apply button is dim and unavailable (as well as the Revert) , so it appears as though the script has already been applied. In order to have the button be a trap-mouse-up button, you need to type something in the script, even if it is a single space, then you can click the Apply button. Now that I know, I know. Thanks for the clarification to those who chimed in :-) Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
unexpected behavior 'on mouseup'
Do four simple steps: [1] Make a new mainstack [2] set the card script to on mouseUp put the long id of the target the seconds end mouseUp [3] Make a new button [4] Choose Browse mode --- Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp It is as if the button has 'pass mouseUp' implied. Now add any character to the button script, such as a space, click apply, and no message is passed (but the script is the same) Not a show-stopper, but fooled me when using a transparent button to block mouse clicks. Perhaps this is already bugzilla'd, or is expected behavior. Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: unexpected behavior 'on mouseup'
Might it be that when the button is created, although it's script contains the on mouseUp handler, the script has not been compiled? Best, Mark On 29 Nov 2006, at 00:27, Jim Ault wrote: Do four simple steps: [1] Make a new mainstack [2] set the card script to on mouseUp put the long id of the target the seconds end mouseUp [3] Make a new button [4] Choose Browse mode --- Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp It is as if the button has 'pass mouseUp' implied. Now add any character to the button script, such as a space, click apply, and no message is passed (but the script is the same) Not a show-stopper, but fooled me when using a transparent button to block mouse clicks. Perhaps this is already bugzilla'd, or is expected behavior. Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: unexpected behavior 'on mouseup'
Jim wrote: Do four simple steps: [1] Make a new mainstack [2] set the card script to on mouseUp put the long id of the target the seconds end mouseUp [3] Make a new button [4] Choose Browse mode --- Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp It is as if the button has 'pass mouseUp' implied. Now add any character to the button script, such as a space, click apply, and no message is passed (but the script is the same) Not a show-stopper, but fooled me when using a transparent button to block mouse clicks. Perhaps this is already bugzilla'd, or is expected behavior. Jim Ault Las Vegas The button *does* pass mouseUp because it contains *no script* at all! The on mouseUp handler is added for your convenience, but if you don't edit the script in anyway, it is deleted when the editor window is closed -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -Dr. John R. Vokey ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: unexpected behavior 'on mouseup'
On 11/28/06 7:01 PM, John Vokey [EMAIL PROTECTED] wrote: The button *does* pass mouseUp because it contains *no script* at all! The on mouseUp handler is added for your convenience, but if you don't edit the script in anyway, it is deleted when the editor window is closed You are correct, but how would I have a way of knowing that? Every time I open the script editor, it will show the default mouseup handler and the apply button is dim? I did try put the script of button 1 in the message box to confirm that the script is empty. It is like closing the refrigerator door with the light on. Jim Ault Las Vegas Jim wrote: Do four simple steps: [1] Make a new mainstack [2] set the card script to on mouseUp put the long id of the target the seconds end mouseUp [3] Make a new button [4] Choose Browse mode --- Why does the card script run when clicking the button that contains the script: on mouseUp end mouseUp It is as if the button has 'pass mouseUp' implied. Now add any character to the button script, such as a space, click apply, and no message is passed (but the script is the same) Not a show-stopper, but fooled me when using a transparent button to block mouse clicks. Perhaps this is already bugzilla'd, or is expected behavior. Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution