Issues with "wait until mouse click"

when I put wait until mouse click it doesn't register mouse down or mouse up. Because of that, my game is sloppy and skips some scenes if I accidentally hold down my mouse for more than a split-second click. Is there any way to manipulate the wait for mouse click behavior so it works only when the mouse button is released?

Hmm, I wonder if he figured it out already, since he didn't even answer your question.  He seems to be talking about the built-in "Wait for Mouse Click or Key Press" behavior in the behavior library.  Sometimes those behaviors can become overly complicated for the simplest of things.  I recommend you just go ahead and roll your own frame script, as EtchK was implying.  It's pretty easy, you just need two short handlers:
on exitFrame
  go to the frame
end
on mouseUp
-- do whatever
end

Similar Messages

  • Ugly issue with my Magic Mouse

    I have a Magic Mouse that has work essentially flawlessly for quite a while.
    I run VMware Fusion so I can run Windows XP and the Magic Mouse worked great there as well. Tonight I was trying something and I told VMware Fusion to connect the Apple Bluetooth USB Host Controller to Windows XP. Well, at this point my Magic Mouse connectivity stopped and man did my troubles begin.
    I quickly told Vmware to disconnect the USB Host Controller from Windows but this hasn't fixed my new issues with the Magic Mouse. At this point my Magic Mouse is barely functional.
    The symptoms are this:
    - If I disconnect the mouse using the tool bar blue tooth indicator and then reconnect it, the blue tooth indicator says the mouse is connected but it doesn't work. I have to physically power down the mouse and back on before it work.
    - When it does kinda work, the mouse at times "jumps" across the screen so I have to be very careful how quickly I move it at times.
    - The multi-touch scroll feature no longer works. It worked in Windows XP as well ... not any more.
    - When I click on the bluetooth icon and try to bring up the Mouse Properties it takes QUITE a long time.
    When I try to get the system to "discover" the mouse again, it can take quite a long time and the following shows up in the Console App:
    10/7/10 2:32:58 AM kernel [0e65d000][BNBMouseDevice::init][54] init is complete
    10/7/10 2:32:59 AM kernel [0e65d000][BNBMouseDevice::handleStart][54] Done
    10/7/10 2:32:59 AM kernel [10ee2880][AppleMultitouchDevice::start] entered
    10/7/10 2:32:59 AM kernel [0f5f3900][AppleMultitouchHIDEventDriver::start] entered
    10/7/10 2:33:02 AM kernel [BNBMouseDevice][waitForData][d8-30-62-38-b8-ff] Timeout waiting for data
    10/7/10 2:33:02 AM kernel [BNBMouseDevice][getExtendedReport] getReport returned error e00002d6
    10/7/10 2:33:02 AM kernel [BNBMouseDevice][updateBatteryLevel] Couldn't get battery percentage from device
    10/7/10 2:33:06 AM kernel [BNBMouseDevice][waitForData][d8-30-62-38-b8-ff] Timeout waiting for data
    10/7/10 2:33:06 AM kernel [0e65d000][BNBMouseDevice::_simpleGetReport][54] ERROR: getReport returned error 0xe00002d6
    10/7/10 2:33:06 AM kernel [0e65d000][BNBMouseDevice::_getMultitouchReport][54] Bad argument: *length is 0
    10/7/10 2:33:06 AM kernel [10ee2880][AppleMultitouchDevice::_deviceGetReportWithLookUp] ERROR: getMultitouchReport returned error 0xe00002c2
    10/7/10 2:33:09 AM kernel [BNBMouseDevice][waitForData][d8-30-62-38-b8-ff] Timeout waiting for data
    10/7/10 2:33:09 AM kernel [BNBMouseDevice][getExtendedReport] getReport returned error e00002d6
    10/7/10 2:33:09 AM kernel [BNBMouseDevice][updateBatteryLevel] Couldn't get battery percentage from device
    10/7/10 2:33:13 AM kernel [BNBMouseDevice][waitForData][d8-30-62-38-b8-ff] Timeout waiting for data
    10/7/10 2:33:13 AM kernel [0e65d000][BNBMouseDevice::_simpleGetReport][54] ERROR: getReport returned error 0xe00002d6
    10/7/10 2:33:13 AM kernel [0e65d000][BNBMouseDevice::_getMultitouchReport][54] Bad argument: *length is 0
    10/7/10 2:33:13 AM kernel [10ee2880][AppleMultitouchDevice::_deviceGetReportWithLookUp] ERROR: getMultitouchReport returned error 0xe00002c2
    10/7/10 2:33:17 AM kernel [BNBMouseDevice][waitForData][d8-30-62-38-b8-ff] Timeout waiting for data
    10/7/10 2:33:17 AM kernel [0e65d000][BNBMouseDevice::_simpleGetReport][54] ERROR: getReport returned error 0xe00002d6
    <snip>
    I want my Magic Mouse back !!!!
    Any idea anyone ?
    P.S. I'm sssssoooo freak'n mad to VMware right now.

    Sounds to me like you have one of several issues going on there.
    You may have a lot of interference in the same frequency as your bluetooth device.
    Or - you may have a bad bluetooth transceiver in either your mouse or your computer.
    Take the mouse to another computer with bluetooth on it and sync it to that - if it works fine then your computer or your environment is the culprit there ( um this assumes that you took your mouse to another location, say your friends house where the interference threshold is bound to be different than at your house), and you should then take your computer out of the house for the day, and see how the mouse works away from home.
    If the mouse is bad - you will have issues if you take it to another location - replace it - check warranty
    If you think is is your house / place you have your computer, that may contain an the interference that messes with your mouse:
    Try turning everything off you can think of in your house / office, and see if it gets better. Also - a big one - make sure that your computer and mouse are not to close to any speakers / etc, as they do have a magnetic field that could cause a mess with bluetooth mice. (rare but it happens)
    As you can see in your error message:
    10/7/10 2:32:59 AM kernel 0f5f3900AppleMultitouchHIDEventDriver::start entered
    10/7/10 2:33:02 AM kernel BNBMouseDevicewaitForDatad8-30-62-38-b8-ff Timeout waiting for data
    10/7/10 2:33:02 AM kernel BNBMouseDevicegetExtendedReport getReport returned error e00002d6
    it made a connection - then timed out -
    Also check the silly things - like are the batteries dead?
    Last thing I can think of - is to delete the mouse all together, then re-discover it -
    Um - after replacing the batteries of coursse - just to be SURE.
    Then you can turn everything back on in vmware etc - you may also want to make sure that you have the latest version and additions etc installed.
    Good luck!

  • How do you go to marker  when there is a wait for mouse click between the markers?

    I cant seem to get by the wait for mouse click, when using                          go to (marker)
    I have a game that I have 2 push buttons one is
    on mouseUp me
      go to frame 9
    end
    on mouseUp me
       go to frame  29
    end
    There is a wait to click in between these 2  frames and when I click on the  2nd button to go to frame 29  it stops at the wait to click?
    I have tried  all these below and cant get past the click to wait?????
    go
    go to frame
    go to marker
    _movie.go
    _movie.marker
    _nextMarker=

    Think this issue is resolved but to ensure the full answer is available, here it is.
    First, it's a bad idea to use the Tempo channel at all. You can use a script to do anything that you can do there. I have Lingo alternates to the Tempo channel at:
    http://www.deansdirectortutorials.com/Lingo/tempoLingo.htm
    (think I need to update this page though)
    So - DO NOT USE the Tempo Channel setting - Wait for Mouse Click or Key Press.
    The above setting creates a type of pause that interferes with other interactivity.
    Instead - use a 'Hold on Frame' behavior (from the Library Palette - Navigation category) or it could be written as:
    on exitFrame
    go the frame
    end
    Once you have the above behaviour in you desired frame, you can attach a sprite behaviour to your buttons / links. A good one to use is the ‘Jump to Marker Button’ behaviour in the Controls category of the Library Palette. You can attach this behavior to different sprites and just change the marker setting of the behavior, removing the need to have individual hard-coded scripts for each button.
    Next – DO NOT link to frame numbers. Always link to a marker. You may insert or remove frames. This would cause your incorrect links since the frame number would no longer the right point.
    Next – the following all do the same thing:
    go to frame “markername”
    go to “markername”
    go “markername”
    So, you can leave out ‘frame’ or even ‘to’ as they are not needed. I still use ‘go to’ as it feels more natural to me (just history).
    or you could use:
    _movie.go("dean")
    Don’t use
    go to marker “markername”
    I think that did work at some point but not anymore.
    marker can be used as follows:
    go marker (-1)
    Where -1 is the amount of markers back (could be forward as well).
    Well, that gives the detailed answer to your question.
    Dean

  • Sand Box has stopped working error when using System Exec.vi with wait until completion is true

    I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.

    Hello JJVerdi
    mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors? 
    you may take a look to this KB, it may be related to your issue:
    http://digital.ni.com/public.nsf/websearch/2393462​BD57B854186256C4F007B706A?OpenDocument
    Regards
    Mart G

  • Didnt read the issues with ios5 until i've done my update. I ve restored my iphone 4, 3 times, and till now it is locked in a loop of the apple logo, loading

    Didnt read the issues with iOS5 until i've updated my iPhone 4. Restored 3 times and it is still locked in a loop of - Apple logo, loading, and a flash of "...restore successful...few steps away..." and buzz. Please help

    At the end of a Restore, you will be asked if you want the current iPhone to be synched as a New iPhone or use the current iPhone's settings. Selecting the former since to have solved the messaging problem. If u have done back-up of the "old" iPhone on iTunes, then your New iPhone will be the "old" iPhone too after synching with iTunes :)

  • When I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    when I use Mail and want to paste an emailadress with a right mouse click in the adres field this doesn't work, ofcourse cmd V  works. How can I solve this

    YAY!  That did it.
    Thank you so much.
    And a Very Happy and Prosperous New Year to you!
    bonnie

  • Issue with switching spaces via clicking application in the dock

    Hey guys,
    Sometimes, not all the time, when I click on an application in the dock that has windows open in another space, it switches to the appropriate space, but with the application I clicked on not in the foreground. If I have other application windows open in that space, sometimes they occupy the foreground, and subsequently, the application I have clicked on on the dock is not in view. It is highly annoying when I click on the dock icon, to find that I have to go down and click on the dock icon a second time to bring the app into view. Does this happen to anyone else?
    Cheers guys,
    Ric.

    Thanks KXsig.
    I've been upgrading from 10.5.8 to 10.6.4 last sunday. Since then, switching between different Spaces with Magic Mouse, i've got that issue of a third party application dedicated to Spaces number 6, and appearing also in background of Spaces 4 dedicated to Safari, or also in any free Spaces spot, when the application dedicated is not opened.
    That didn't happened with Leopard, thanks a lot for the keyboard shortcut "Command + Tab".
    Maybe a fix in 10.6.5 to come..

  • MAC OS X 10.6.3 issues with iTunes/Magic mouse

    This is strange. Somehow I was able to upgrade Snow Leopard 10.6 to 10.6.3. How was that possible? I did this about a week or so ago. 10.6.3 is not available on Apple's download site today 2-7-2010. How did I get access to it?
    A couple of weeks ago, I bought the Snow Leopard CD and installed it over my Tiger OS, without any problems. Then i bought a wireless keyboard and magic mouse which prompted me to upgrade Snow Leopard to 10.6.2., as well as upgrade the software to the wireless peripherals. Went to Apple's download page and somehow downloaded OS X 10.6.3. Hmmm? I also installed the latest security update at this time too. After all installs, at this point, I wasn't experiencing any issues with my laptop.
    But then, I upgraded iTunes to 9.0.3. At this point I started experiencing problems after shutting down and then booting up the next day. iTunes began playing music slowly, music wasn't garbled, but the songs sounded out of tune (playing from my hard drive). Also, my wireless magic mouse got jumpy and exhibited delayed reaction. I ended up reinstalling OS X 10.6 (from the cd) over the existing OS (10.6.3), and now iTunes works just fine. The reinstall of OS X 10.6 from the cd did wipe out my software upgrades for the wireless peripherals and i have yet to upgrade them. i'm just glad iTunes is working well again.
    My questions are: Was the problem with iTunes playing slowly an iTunes issue? Or was the root problem from the upgrade to OS X 10.6.3, and therefor an OS problem? Why was my mouse also displaying problems? And how was I able to get OS X 10.6.3 from Apple several days ago when they don't have that version available for download on the site today? Confusing.

    My questions are: Was the problem with iTunes playing slowly an iTunes issue? Or was the root problem from the upgrade to OS X 10.6.3, and therefor an OS problem?
    Even if a user has access to the beta, and knew of an issue they are working on, he/she would not be able to comment on it here. This forum is only for OS's that have been released and is covered by a Terms of Use agreement.
    Sounds like you got an unintended update in some sort of fluke accident, and since you've removed it, there's no way of telling what caused the problem or if it was the OS or program or both.

  • Serious issue with password manager - mouse selection in MS word 2007

    A little while ago, after installing some thinkvantage updates, I started to loose selection with the mouse in microsoft word 2007 after few minutes of usage (and derivatives such as outlook). I have a T61 with Windows 7 64 bit ultimate.
    I did many internet searches and surprisingly many other users who had this issue were Lenovo users so I'm not even sure if this issue is windows 7 specific.
    Disabling totally the password manager solved the problem - so there might be a serious issue there...
    Erik.

    Confirmed here http://forums.lenovo.com/t5/Windows-7-Discussion/Weird-issues-with-T61-and-Win-7/td-p/179635
    I forgot to subscribe to the topic

  • Help with "Wait Until Next Millilsecond Multiple" vi

    Hello,
          I'll try to keep this brief and follow up with additional information when necessary.  I'm not using the current software so PLEASE let me know if this has been resolved with the newest version.  I do plan to upgrade but not this month.
          The vi "Wait Until Next Millilsecond Multiple" isn't working as I expect.  Today, if I subtract the millisecond timer value from the real time, I get 10/19/2006  15:13:21.33 (try this yourself - current time -millisecond timer value/1000 = timer origination time). The millisecond timer value output is counting up from there.  Since it doesn't originate from an expected predictable time (appears arbitrary).  I can't use the vi AS-IS and get my vi to repeat at a predictable interval.  If I use 1000 for the input, I expect the timer to end at every whole second in time.  However, it ends at about 0.33 seconds later.  If I use 60,000 for the input, I expect the timer to end at every whole minute in time.  However, it ends at 21.33 seconds after the whole minute mark.  My timer appears to be losing time but I can confirm that tomorrow by comparing data.  I could create a vi to do the same function but I would like to know if there is a fix for this first.
          I have a running vi to back this up and I will post that and other examples if necessary.  
    Please Advise,  Scott

    Hello,
          My mistake.  The vi was intended this way.  When I read the help information on "Wait Until Next Millilsecond Multiple" it did NOT include the information about the "Tick Count (ms)" because I don't really use it.  It states "Returns the value of the millisecond timer. The base reference time (millisecond zero) is undefined. That is, you cannot convert millisecond timer value to a real-world time or date. Be careful when you use this function in comparisons because the value of the millisecond timer wraps from (2ˆ32)–1 to 0." 
          So there's no bug here but I do believe that there should be a similar function that would generate the millisecond multiple to be a multiple of real time.  So, if you input 60,000 the timer would end at the end of every minute.  I really don't see why the base reference time is undefined.  LabView can give me the real time.  I would guess that LabView could restart the millisecond timer at the start of every day.  This would certainly add value to the vi.
          I do want to mention that I've read other threads where people believe that the millisecond timer value is based on real time and they have inadvertantly advised others accordingly.
          I'll just make my own function for now.  I'll just use "Get Date/Time in Seconds", calculate the time to wait from the multiple, and divide it into 100 pieces or more (depending on resolution desired) and loop that many times or until the desired time has passed (rechecking time at each loop).
    Thanks, Scott

  • How can I turn off the delivery of mail when I turn on the program. I want it wait until I click the get mail button before it brings the mail over

    I do not want the program to bring over my mail until I click the get mail button. I look at my mail on my providers site and delete the item I do not want to look at before going to Thunderbird to actually read it. And I do not want to receive any mail that might come to me until I can determine if I want to read it first.

    Disable 'Check for new messages at startup' in your Account Settings.

  • HP ENVY 15-q014tx Issues with touchpad and mouse

    Dear HP,
    I recently bought this laptop and it have been giving me problems ever since.
    Let me start with the touchpad issue. It started out with my touchpad having issues but I shrugged it off as I thought it would've disappeared. It did. But it comes back ever so often I find it hard to ignore anymore. It works as and when it feels like working. The touchpad jumps around the page and clicks when I try to move it around. I can't even scroll up and down with my 2 fingers. I searched and there is no updates available for all my drivers.
    Another issue is when I plug in my mouse, the computer suddenly becomes extremely jumpy. For example, when I watch a video on youtube or any other website (I've tried on all browsers), the video will suddenly stop and it will emit a buzzing noise as though it has been hung and shortly after continues where it has left off. I realise if I change the power option from power saving to high performance this will occur less often. But recently, I feel that it happens too often even when it is plugged in and at high performance. I've called in about this issue and have been waiting for a return phone call ever since. I have yet to receive a return call. (I have since taken a video of what happened so you can better relate to what I meant)
    Another problem that I have made a temporary fix for is that my computer is unable to shutdown when I do a proper shutdown. I have since made a shortcut key that does a shutdown command to turn off the computer.
    I really hope I can get this fixed asap. I await your favourable reply.
    Best Regards,
    Edward
    Edit. I forgot to add that I ran a full hardware scan by restarting the computer, pressing F2 and then running a Extensive System Test. Everything passed

    I have just sent you a private message. If you are not sure how to check your forum messages, this post
    has instructions.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Anyone had scrolling issues with standard MacPro mouse?

    my mouse no longer scrolls down. i either drag the bar down, or use key. once down, i can use scroll-ball on mouse to scroll back up, the only direction that is functional. at one time, only an intermittent issue, but degraded to becoming unusable. any suggestions?

    The 4 no microscopic magnetic rollers below the ball are covered in fluff and finger oils.
    Even using the recommended cleaning method eventually fails to loosen the fluff because the ONLY way out of the mouse for this build up is by collecting back on the ball then out onto the paper.
    Below the ball is a microswitch unit so the debris can not fall into the body space of the mouse.
    Finally the bottom of the mouse has been glued shut preventing easy general maintenance.
    If you are adventurous you can carry out some surgery to repair the mouse.
    You need a scalpel, some super glue, a very small cross bladed screw driver, and a pair tweezers
    Right turn the mouse up side down , with the scalpel carefully separate the OUTER grey bezel ring from the mouse top and set aside.
    Now press the two side buttons and with your thumb press the front of the top mouse body away from you .
    It should click free.
    It still may be held by two hinge posts about 25mm/1" from the rear of the mouse so use the screw driver to leverage these free with a snap.
    'The body will now be separated however you will now find that the two parts are connected by two ribbon cables.
    These are just pressure fitted to the logic board but being careful you shouldn't dislodge them.
    So twist the bottom plate through ninety degrees and you will see the microswitch held by three cross head screws.
    Unscrew these and set aside.
    Now you can finally clean those little magnets using the tweezers.
    Now reassemble in reverse and finally using the super glue reattach the bezel.
    Allow time to dry and finally plug in USB/Repair if bluetooth and test run what should now be a functioning mouse.

  • Issue with HP Bluetooth Mouse z5000

    I love this mouse. It worked great, scrolled smoothly across my screens. Now it lags. It holds up. I changed the battery, but it continues to have the same issue. I have tried completely removing it from the bluetooth profile on my computer and reconnecting it back. I get the same issue. Help! I love this mouse! 

    Yes, just purchased the same mouse works well but only sometimes.  Depending on the weather I guess. After connecting via Bluetooth the curser lags, judders, accelerates and stalls, not keeping up with your hand movements at all. Similarly the mouse key presses can lag and be quite retarded. The strangest thing it does this based on no known or obvious conditions.  I get it to work eventually by re-booting the PC. Problem is that it takes 5 or 6 re-boots to clear out the issue. I have tried to download the drivers but HP only have drivers for the z6000 and not the z5000.
    Anyone have any ideas what may be causing this, and more importantly, how to fix it?

  • No KeyDown detected on a new Window presented with ShowDialog (a mouse click is required before working)

    Hello,
    I shorter the code.
    In MainWindow I have a button to open a SecondWindow 
    private void ButtonNextWindow_Click(object sender, RoutedEventArgs e)
                WindowState = WindowState.Minimized;
                var secondWindow = new SecondWindow();
                secondWindow.ShowDialog();
                WindowState = WindowState.Normal;
    In the second window class I declared a KeyDown event called onKeyDown
    private void onKeyDown(object sender, KeyEventArgs e)
                MessageBox.Show("Key Pressed");
    well... it works only if I first click in the Second Window with the mouse, wherever I want.
    I would avoid this click; seems something related with the Keyboard focus.
    Thanks in advance,
    Vincenzo

    Set second window to focus after you set first window state to normal
    private void ButtonNextWindow_Click(object sender, RoutedEventArgs e)
                WindowState = WindowState.Minimized;
                var secondWindow = new SecondWindow();
                secondWindow.ShowDialog();
                WindowState = WindowState.Normal;
    secondWindow.Focus();

Maybe you are looking for

  • Détecter carte pickering 50-295-121​-10/12 sur cible déportée dans MAX

    Bonjour, Je suis en train de développer une application de test temps réel dans laquelle je dois piloter une carte Pickering de type "50-295-121-10/12". J'aurais donc plusieurs questions qui sont pour l'heure sans réponse. Premièrement, je cherche à

  • Can't register a database in RMAN catalog (PL/SQL package not current)

    Hi RMAN experts. I'm trying to register a 10.2.0.1.0 database into a 10.2.0.5.0 RMAN catalog but I get the following error (Note: following was done on the rman server machine, ORACLE_SID=rman, target database is remote) $ rman catalog rman/rman targ

  • How to use the SQL 'union' in Business Objects???

    Post Author: tatun CA Forum: Data Integration Hi eveyone. I have to write the following SQL code in Business Objects.The code has some 'union' inside the same query. I have tried to make some unions in the Data Provider, but I can just do 8 unions, a

  • Mac Mail creates duplicate messages in GMAIL bin and various other locations...

    This has been quite frustrating finding 20 copies or half written copies of my mail as mac mail saves it as a draft then moves it to the bin. When i perform a search for something im greeted with 20 half written copies of an email? Anyone know why th

  • Doubt about. shelf life in Info records

    Dear all, Please clarify my doubts on the following: An info record will be automatically created when the infoupdate field is ticked in the PO. 1) Will the price stated in the PO be populated in the Info records as well? I have tested in QA environm