Script to turn off mouse input?

In my director movie, i have sprites that can be clicked to
perform an action through a mouseUp handler. My problem is that
when a sprite is clicked, i dont want it to be clicked again until
the sprite has been 'reset'. Is there a property i can change so
that mouse clicks no longer apply?

I like to do this by creating a sprite property.
property spriteNum, pEnabled
on beginSprite me
sprite(spriteNum).pEnabled = true
end
on mouseUp me
if sprite(spriteNum).pEnabled then
-- Do something here
sprite(spriteNum).pEnabled = false
end if
end
This allows the button to be clicked once, execute whatever
code you desire,
then disabled the button from executing the code again by
setting the
button's pEnabled property to false. Some where else you can
reset the
sprite's pEnabled property back to true so that it will
respond to the
mouseUp event again.

Similar Messages

  • How to turn off mouse click noise

    I am listening to my Itunes on my computer and doing work at the same time. Each time I do my work and click my mouse I hear the click sound at the same time as my song. Is they any way to turn off mouse click sound so it does not disturb my music?

    1. Go to control panel
    2. Click mouse
    Now that being said, I don't have the kind that makes a noise, so I don't have an option, but if you're able to turn the sound off, it should be there.
    If it's not there, check Sounds and Audio Device properties to see if there's an option there. If there's not, you may need to contact your computer manufacturer.
    Good luck!

  • Turning on Garageband Airplay turns off audio input for guitar

    Turning on Garageband Airplay turns off audio input so I can't hear my electric guitar via my bluetooth speaker.  I know I can wire my speaker to my ipad but I don't want to.  Any help?

    Did you notice the alert window that Audio inputs are dialed when using Airplay or Bluetooth? This window pops up when you turn Airply - Bluetooth on. So the behavior/restriction is normal
    Hope that helps 
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/ 'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • HT4930 Turn off mouse scrolling completely in Mountain Lion?

    After installing Mountain Lion 10.8.5, I have a slightly different Magic Mouse preferences window than I did with Snow Leopard. There is no longer an option for entirely turning off scrolling. This is really annoying while working in Photoshop as the cursor will periodically "jump". I also do not have "Universal Access" in my System Preferences. How do I turn off scrolling?

    In case anyone comes here looking I made an applescript that does the job. You could automate this using automator so use a simple keyboard shortcut to activate it for easy access.
    Script:
    tell application "System Preferences"
         activate
         set current pane to pane "com.apple.preference.universalaccess"
    end tell
    tell application "System Events"
         tell application process "System Preferences"
              tell table 1 of scroll area 1 of window "Accessibility"
                   delay 0.2
                   select (row 10)
              end tell
         click button 5 of window 1
         delay 0.1
         if value of checkbox 1 of sheet 1 of window "Accessibility" is 1 then
              click checkbox 1 of sheet 1 of window "Accessibility"
         else
                   click checkbox 1 of sheet 1 of window "Accessibility"
         end if
         click button 1 of sheet 1 of window "Accessibility"
              end tell
    end tell
    tell application "System Preferences"
         quit
    end tell
    To do the automator method all you have to do is launch it and select "Service" Then set "service receives selected" to "no input". Search in the action bar for "Run Applescript". Paste the script code there and save. Now in System Preferences> Keyboard> shortcuts there should be a catagory called General. Under that should be whatever you named your automator service. Make sure its checked and then just click and add a keyboard shortcut!
    Hope someone finds it useful. I made this for my brother because he hates having scroll on for games as well.

  • Can I turn off mouse battery low notification

    I use rechargeable batteries in my Magic Mouse and I use to have no problems but since upgrading (from 10.6.8 to 10.10) I keep getting notifications on screen that my battery is low even if I just charged them. Now, I know it's due to the voltage difference in rechargeables but I would like to just turn off that little pop up that keeps popping up on screen I click on it to hide it but it just keeps coming back and it's annoying.
    What's funny is the battery is fully charged and the menu says 0% battery and has said that through 2 weeks of heavy use. If I swap them out for newly charged batteries it still says the batteries are at 0%.

    Yes - have checked them all and there's nothing to check or uncheck. This is one of those little things that's annoying and turns out it annoys lots of people given the number of requests for solutions in this forum and non-Apple forums. Apparently this issue has become worse with each OS upgrade. I have tested OS identified problem batteries and found plenty of charge. Besides the interval between when the notifications start and when the batteries fail is quite long.
    Many suggestions including Terminal scripts suggest simply turning off Notifications completely but that means loss of something useful.
    What is wanted is to allow the notification re declining trackpad, mouse, keyboard battery power is to show itself, let it be clicked close, and to stop popping up all the time.
    I did go to a Genius Bar for help (bit hard to demonstrate without the iMac being there) and the Genius didn't think there was such a problem. Having had Geniuses give themselves away in never looking at Apple Support Forums, I came prepared with links to this issue raised on this and other posts. Amazed he decided that maybe there is a problem/issue, could not find anyone to suggest a solution, but suggested I put in a feedback form. I think Apple people look at these even less than they look at the Support Forums, and so that is why I was looking to the Apple User community for a solution.

  • Can't turn off Mouse Click

    I am trying to turn off the mouse click sound. I am following
    the manual which says to remove the checkmark from the box next to
    the Mouse click sound. After I do that, I then save the project
    (which is still unpublished). I then preview that slide, and I
    still hear the mouse click sound. I did this to several slides, all
    had the same results. I am a new user of Captivate 3, am I doing
    something wrong?

    Welcome to our community, Linda
    Hop over to fellow Adobe Community Expert Paul Dewhurst's
    site at the link below. You need to download a silent mouse click
    sound file and replace yours with Paul's. Then you will be free of
    mouse clicks!
    Click
    here to visit Paul's site
    While you are there, please consider tossing some change into
    his tip jar for his efforts!
    Oh, and one other thing. Don't let the fact he's organized
    this widget into the Captivate 1 category fool you. It should work
    with all Captivate versions.
    Cheers... Rick

  • Help!  Turned off mouse by accident!

    Hi all,
    I had a boot-up problem with my Mac (it would only work with extensions off) so I turned off all the extensions to troubleshoot. Unfortunately, I must have turned off an extension or control panel to the mouse as well, and now have no mouse!
    Anyone know how to turn the mouse extension or control panel on with keystrokes? Or how to turn on ALL extensions, even? I've searched all the known keyboard shortcuts I could find, and none for turning extentions ON during boot up.
    Appreciate any help! :0)
    TIA,
    Peg

    OK, so that helps to know which extension needs to be turned back on!
    I have the original Logitech Mouse CD, and I've tried to install it, but don't know how to do that w/o the mouse. I can cmd-O to open the window, and use the arrows to run the installer, but I got stuck at the part where I have to choose between "Accept" or "Not Accept" their legal stuff. Neither one is highlighted, and the tab or arrow keys don't select it.
    I can open Extension Manager, but can't get navigate that w/o a mouse, either.
    I sure appreciate any help with keystrokes, esp. if I could just get the USB extension turned back on!
    Thanks!

  • Settings for Turning Off Mouse Pad

    I have a Pavilion dv7 laptop (P/N VZ500PA#ABG) running Windows 7 and I like to use a mouse with it. I am not entirely sure what the pad thing in front of the keyboard is called (the one used when you don't have a mouse), but I want to know how to change the settings on my computer so that when I turn off the mouse pad thing, it STAYS off the next time I turn on my computer. I know it's possible to change the settings to do this, because it used to do this prior to me changing a whole heap of settings. It is really annoying that I have to press the button every time I log into Windows (if I don't, then I end up accidently touching the pad as I type and then it accidently clicks on things).
    If anyone can help me I would be most grateful. Thanks in advance.
    This question was solved.
    View Solution.

    Bonhilda, welcome to the forum.
    In the lower right hand corner of the Tray, there is an icon "Show hidden icons".  There you will find the "Synaptics Pointing Device" icon.  Click on it and uncheck "Tap to click".  This will disable the pad.  You will have to click on the Right button at the bottom of the Pad to select items.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Turn off mouse

    Stupid Bluetooth mouse on my new iMac drives me crazy. I'm jumping all over the page I'm designing so much that I'm much more efficient with my old non-Blue Tooth mouse. In fact I'd just use that except my old computer still needs it. I've gone to the System Preferences and turned off every gesture under the Mouse control panel and even restarted and the silly thing still keeps jumping every time I inadvertantly swipe my fingers over it.
    Help!

    When you say jumping, do you mean the cursor suddenly moves to a different location?
    If so, there are'nt really any gestures that would cause that.
    Could be something else going on.
    Have you tried the wired mouse?
    Matt

  • Turn off mouse hints

    I'm trying to do a presentation of a book assembly using 'Screenflow' but I cannot find a way to turn off the mouse hints ( little yellow boxes which appear as you hover over an item ). Anyone know how to turn this off, it looks amateurish when it crops up in the presentation
    Peter

    http://www.macworld.com/article/55202/2007/02/termtooltips.html

  • Turning off mouse & keyboard

    I would like to know if there would be battery consumption on the wireless mouse & keyboard when the Imac is turned off.I see an off switch on the mouse & I do turn it to off.Not sure how to turn off the keyboard though,Will battery still be used when Mac is turned off?

    Hi Don! 
    A couple of "bits" of information:
    I've had this machine about 3 months now, and the battery level for the keyboard is still showing 100%. However, I've had to change the batteries in the mouse about a month ago, and it's now reporting 50%.
    This is a problem (incorrect battery readings) that apparently started with OS X 10.6.7. The readings are consistently high.  The problem has been reported and the "powers that be" are aware of the issue.  I suspect a future release will take care of the incorrect reading issue.  In the meantime, the "mighty monitor" widget that runs under Dashboard seems to have correct readings.
    I have been using rechargeable batteries and a 15 minute charger (all obtained on eBay new at a reasonable price).  I happen to be using Energizers (2450 mAh).  Although the batteries do not last as long as Lithium batteries, the cost is less over a period of time.  Rechargeables also are "feel good" as they are environmentally friendly.
    Regards,
    Barry
    P.S.  My mighty mouse does require batteries more often than my keyboard, although I suspect it is because I use the mouse a lot as I type VERY slowly.

  • Turn off mouse click

    In
    Slide > Mouse > Properties it seems that you are able
    to turn off the sound by unchecking the box next to
    Mouse click sound, but I have found that this does not work.
    I unchecked this for each slide, but the click sound is stil there.
    Is this a bug, or is there another way to turn off the sound, short
    of creating a sound file of silence and replacing the existing file
    with the silent one?

    Have you checked when the file is published? I get plenty of
    incorrect/errant mouse clicks in the development file even
    though the
    option is off. But when published, those settings seem to be
    respected
    well enough.
    Erik
    bobelmore wrote:
    > In
    Slide > Mouse > Properties it seems that you are able
    to turn off the
    > sound by unchecking the box next to
    Mouse click sound, but I have found
    > that this does not work. I unchecked this for each
    slide, but the click sound
    > is stil there. Is this a bug, or is there another way to
    turn off the sound,
    > short of creating a sound file of silence and replacing
    the existing file with
    > the silent one?
    >
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • How to turn off mouse (or touchpad) scrolling when running vim in an xterm?

    Just updated 13" macbook pro (mid-2010) from Snow Leopard (10.6.8) to Yosemite (10.10.1).  Previously, when running vim in an xterm, scrolling with the touchpad did nothing inside vim, it just scrolled the xterm history back so I could see what I had done before executing vim.  Now, the same scrolling action (either with touchpad or with an external mouse with scrollwheel) moves the cursor position inside vim (if I'm in navigate mode).  I want to turn this feature off.  I'm sure some people like it but I do not.  Anyone know whether this is something to be blocked by vim settings, or perhaps something in the xterm settings I need to change?  Vim version is 7.3 (2010 Aug 15), which must be a slightly later version than I had under the original operating system, since I got it July 2010. 
    I've tried modifying various vim settings, but to no effect.  I haven't found a comprehensive list of such settings to try systematically. 

    While I do not have Yosemite up and running at the moment, I cannot actually play with Yosemite Terminal.app.  But you should at least look through the various Terminal -> Preferences to see if there is any configuration option that is telling the Terminal how to treat scroll operations.  And try things like changing the "Declare terminal as: ............." setting, as that may affect the Terminfo database entry, which Vim uses to decide on what it does with various keyboard escape keys for input as well as displaying output (not sure if that would affect scrolling input, but it is worth a shot).
    Instead of using X11 and xterm, consider giving iTerm a try.  I have been using as my terminal emulator for years, and at work I live in terminal sessions, ssh'ed into various Linux, Solaris, AIX platforms.
    <http://iterm2.com>  A newer version
    <http://iterm.sourceforge.net> an older but still viable version (I used this on my Snow Leopard 10.6.8 system)
    iTerm will give you Tabbed windows just like Terminal (actually had Tabbed windows years before Terminal.app).  It will allow you to define what a double-click selection thinks is a word.  It has an option to automatically load anything selected into the copy/paste buffer.
    NOTE:  I have nothing against X11 and xterm.  I also use X11 (XQuartz) all day as well as terminal sessions, with various Linux, Solaris, AIX X11 displays being sent back to my iMac at work, frequently using gvimdiff.

  • Inline scripting and turning off the default chrome flex 4 (flashbuilder 4.5)

    With the release of Flashbuilder 4.5 -flex 4 got some changes to the way coding was done.
    My questions are:
    Inline scripting - How is this done? for example:
    If this condition is met show button x as enabeled - else  - disabled.
    Default chrome - setting the system chrome to none does nothing for me. It doesnt turn it off Oo How is this done?

    For the defualt chrome I have tried:
    flash.display.NativeWindowSystemChrome.NONE;
    and
    <systemChrome>none</systemChrome>
    Upon launchinf - the deafult windows 7 system chrome is still present....

  • Audigy 2 ZS - How can I turn off record input monitori

    Just upgraded from SBLi've value to Audigy 2 ZS and discovered an irritating new "Feature" that was not on the SBLi've.
    During recording, any input source is automatically present on the card's outputs. I'm using an external audio mixer and do not need (or want) to hear what I am recording back through the card while I'm recording it. I only need to monitor previously recorded tracks.
    I've searched and so far can't find any way of switching this off. Anyone know how to fix this?
    Thanks, Rick

    Essex,
    Open the Creative Surround Mixer application, look under the recording section and select Analog Mix. Click on red cross on the top and you should have that option.
    Jason

Maybe you are looking for

  • Using Airport Express on separate subnet to make isolated Guest Network?

    Hi. I've done a search here, I've tried setting this up at my house but haven't figured it out yet. Friends have Verizon FiOS service. They're using the provided modem as the ethernet router and it is handing out DHCP addresses, and for a number of r

  • Why was Extension Manager support dropped for Bridge?

    Title says it all. Adobe Extension Manager supported Bridge in CS4, CS5 and CS5.5 and now it doesn't. From what I understand, the simple addition of the "configuration" folder and the files it contains from a CS5.5 installation suddenly makes it work

  • Custom SQL in Webi reports reverting to gerenated SQL when exporting univ

    Hi all - I've searched the forum and didn't find any posts of the sorts regarding my issue.  I was wondering if anyone has experienced the following behavior in WebI XI R2. We have a few reports that run on a scheduled daily basis. The report writer

  • Elements 5.0 - delayed response to commands, reinstall?

    I am working with PSE 5.0 (no cash for upgrades these days) and wondering if I may have to uninstall & reinstall the software to solve this problem. Please tell me what you think: When executing a command the result doesn't show until I either click

  • Lastest version will not install. Library will not read.

    Error msge: "The file itunes library.itl will not read because it was created with a newer version.  iTunes will not even open.  I've got nothing.  I want to add podcasts to my nano, but cannot without accessing iTunes. The whole mess started when I