Mouse button releasing problem

IN A NUTSHELL---------------------------------
how can i write this line in Action Script?
while(mouse is not released) do {
whatever
I want; to add a script to a button , btw i was using Flash
CS3 professional and didn;t know you can't add a script to an
object using as 3.0 so i was forced to use action script 2.0.
I want to add a script to a button instance name "R" that
will move the object instance name "timeline" to the left as long
as you hold the mouse down. so i have this so far but it will only
move the timeline with a single click.... see If i only knew how to
write the while condition...
//on(press){
// while(cord == true){
// _root.timeline._x = _root.timeline._x - 10;
Thank you....

quote:
Originally posted by:
kglad
try:
thank you for your help........brilliant idea though it
didn't work all to well.. I studied your code and it makes sense it
should work fine...As I click on the button once it moves
continuously, but when i release the button it still continues to
move...Interestingly enough it won;t stop the moveI inteval .. Also
As i click on the button the speed increases.
Thanks for your help again.

Similar Messages

  • Mouse button 4 conflict or virus problem horrifying me.

    I have a mouse button 4 problem which occurred a week ago on my first Imac which I returned to the Apple Store for another Imac. However the same thing happened on the second Imac where everything including the USB extension cable was completely replaced and absolute no parts of the computers were the same. The problem happened on the two different Imacs where in the first case on the first computer expose which was assigned to the Mouse button 4 kept turning on and off by itself as I merely rolled the mouse back and forth and where in the second case on the second computer dashboard which was assigned to the Mouse button 4 kept turning on and off by itself as I again rolled the mouse back and forth. In both cases, in completely different computers, fluky things started to happen, all beginning with the same Mouse button 4 and the function assigned to it.
    Today, a week later, it happened again but did not start a cycle once I clicked the Mouse button 4 again. In the other two cases, the continued appearance and disappearance of the Mouse button 4 function apparently caused the mouse to become so confused and crazy that merely by pointing at a menu item like File or Edit or View, the drop down menus came down all by themselves without pressing the left side of the mouse! In both computers, first with expose turning on and off and then with dashboard doing the same, it became very difficult to carry out the technician's instructions to click the blue apple, click system preferences, go to mouse and keyboard, etc.
    I informed the technician at Apple Procare when this happened on the second new computer that the left and right mouse buttons seemed to be self-actuating and clicking by themselves without me touching them. He had me shut down the computer, unplug all wires from the USB ports including the power cord and hold down four keys at the same time while rebooting to reassign the devices to the USB card ports presumably.
    The genius at the apple store told me that there was never anything wrong with either my first or second Imac and that there was some other factor responsible for the strange goings on like my two peripherals a Canon N676U scanner or my new HP laserJet 1022 printer in the way of a conflict with the mouse control especially most notably mouse button 4 actuating without pressing it at its own whim!
    Up till the time that I talked to the genius, I had theories of my own. I did a virus check with two separate trial versions of anti-virus software for Mac, I erased and installed Tiger in each computer after each identical occurrence and finally even erased and installed Leopard which I bought. My theory was that my backup disks from my PC were hosting a Mac virus which I may have caught on my backup disks because a friend of mine with a Mac goes all over the web into dangerous and exotic sites. She once gave me a Trojan virus in a download of some music which apparently was hosted on her Mac and transferred over with the download of music as a strange setup.exe file.
    I used the antivirus to scan all my backup disks from my PC which I introduced into both my first and second Imac. No infections.
    I changed the USB extension cable, not trusting the one I got from the apple store nor did I trust the replacement one I got from them with the new machine. I used a Radio Shack cord instead which fits more snuggly.
    I called Hewlett-Packaged and Canon to find out if there were any known issues of conflict between control of the mouse and the drivers of either my printer or scanner.
    It seems like in both computers only the mouse button 4 was affected and by my turning it on and off, on and off, on and off, the USB card lost control of the other buttons of the mouse so that the technician had to reset each of the computers during their separate occurrences of the same exact "bug".
    I went into safe mode but I don't know what that proved by shutting off the drivers of the printer and scanner. Right now I have the scanner driver and printer driver totally uninstalled and am monitoring the IMac for the odd behavior without the peripherals attached. What I don't know is if the problem if there is some conflict between my printer driver or scanner driver and the Mouse is confined to the Mouse button 4 which constipates the rest of the button by turning on and off repeatedly while rolling the mouse back and forth...or if the conflict if that is the problem really affects more buttons than just the mouse button 4 where Mouse button is the most obvious sign because it starts up expose or Dashboard (which ever program is assigned to it in the mouse and keyboard settings).
    If there really is any important conflicts, if they are confined to mouse button 4, should I merely turn off that button in mouse and keyboard settings in system preferences and run dashboard and the nifty widgets from the taskbar or from mouse button 3 even, and disable the crazy mouse button 4. This will only work if the conflict or whatever it is, is confined to only mouse button 4.
    I don't know yet whether the constant actuation of Mouse button 4 clogs up the use of the other buttons which apparently become self-actuating with a mind of their own, or whether the possible so-called conflict if it exists and is the cause is really affecting more than one button. What supports my belief that it is a one button problem is that I substituted a logitech mouse which doesn't even have Mouse Button 4, and the problem haunting the technician and me moments before plugging in the different mouse disappeared! Before putting in the logitech and at the height of the problem the pull down file, edit, view menus dropped down by merely pointing at the label without even pressing the left button on the mighty mouse! At this point the left clicking was self-actuating!
    I either need to disable mouse button 4 so it doesn't clog the USB Card port for the mouse or use another mouse.
    I need to know if my theory of an overloading of the mouse is feasible? Or must I isolate the offending printer or scanner which I am presently doing by uninstalling them all if it is really even caused by one of them would need to be replaced with a compatible new peripheral. Expensive!
    If my scanner or printer is incompatible which I am not sure I know how to test for which is the real cause of the problem. If you think that my theory is right-on about Mouse button 4 clogging up the rest of the buttons then it would be better to just turn it off or use another mouse or an older Apple Mouse than uninstalling each peripheral one by one and troubleshooting until next summer. Hope to hear from you guys. I really need help. Note: every aspect of my Imac purchase during these events have been replaced and replace again. I have had 3 separate apple mighty mice, 3 USB extension cable replacements, and two Imac in the time since October 12th when it started. I have called tech support until it is coming out of my ears. Now I am relying on you all. Oh, I have erased and reinstalled every operating system twice to make sure it was not a corruption in the OS in each computer.
    Sincerely,
    Stephen Borisoff

    James,
    Sorry I am so lengthy. The problem is that with the technical support guy on line, when the Mouse button 4 event occurred I described to the tech that I was pushing and pulling the mouse from the back end to avoid touching the buttons on the side and every time I rolled the mouse a few inches forward the dashboard assigned to mouse button 4 appeared and next when I rolled it back the dashboard disappeared, I rolled it forward and it reappeared and so on. Then the tech wanted me to click on the apple and go into system preferences and as my cursor touched the file menu to get to the preferences that menu dropped without me left clicking the mouse. As I passed over edit and view they just dropped down.
    What do you make of that? I am presently running OSX leopard without my printer and scanner installed. If I see no problem in two days, I will plug in the printer and install it. Then after that the scanner and see if the problem happens. I will follow your suggestions about relearning the mouse though.
    Stephen
    Stephen

  • Problem- Releasing Mouse Button

    Hi all.
    I must traslate 3d object in my application.
    But I have a problem when i release the mouse button.
    If I translate my object and then I release the mouse button, my application works well.
    Instead, If i move my object and, while I'm yet translating the object, i release the mouse button, my application doesn't work.
    It seems that the releasing of the mouse isn't catched by the application!
    About the releasing of the mouse button, I use the following statements:
    evt[0].getID()==MouseEvent.MOUSE_RELEASEDwhere evt is an AWTEvent object array
    Does anyone have a good solution to solve my problem?
    I apologize for my english
    Thanks very much in advance.

    Set a flag someplace from your mouse event that says you have had the mouse released so when you are done with your translation, then you can check and see if you still have the mouse down.
    in your mouse up event do something like...
    myGlobalMouseUP = true;
    and then check the flag before each time you want to translate your object.

  • Marquee shrinks when releasing mouse button

    I am editing at 100%, with square pixels, and no feather.
    EVERY time I release the mouse button in CS6 (fully updated), the Info window shows the marquee dimenstions shrink by either 1 or 2 pixels (and I see the marquee visibly move as well). This make it IMPOSSIBLE to accurately to certain kinds of editing. I have to go back to my old CS3 to be as productive! (Current workaround: edit at 200%... but I can't see all I need that way.)
    I am definitely not moving the mouse, because a) it is EVERY time, b) it is never more than 2 pixels, c) it is always a shrink, not an increase, and d) I use a trackpad: my finger is off the pad and no movement is possible, then I let go of the button and the numbers change.
    Is there some workaround/fix, or is this just another bug?
    TIA

    I have now re-tested on a 2013 round Mac Pro D700, OS X Mavericks 10.9.4 (the latest).... and with TWO versions of Photoshop newer! PS CC 2014.
    The exact problem remains in Photoshop CC 2014, albeit not all the time. (I guess that's progress?) But often enough to harm productivity, and it means I have to carefully watch and remember the XY numbers to use the marquee tool. It's nice and accurate before the mouse button is released... it just needs to KEEP the same values on release, and it shouldn't be difficult to insure that's the case. But it sometimes shrinks them.
    Increase the zoom higher, and the problem happens less, but still sometimes. Zoom in far enough (300–400%) and the marquee tool starts to work reliably--except then I can't see the whole image I'm trying to select.
    Also (related?) I have a retina (high DPI) display and the marquee isn't rendering accurately even before release: it's shifted by one retina pixel up or down. This is most obvious at 200% zoom, where you try to select full pixels and see them cut in half instead.
    There's no justification for using different math (?) the moment the button lets go. This is a really basic tool, and I pay every month for it.... but the years go by with no fix. The software that charges my credit card seems reliable at least
    Who should I contact to suggest the marquee tool be made to function at 100% zoom? Do I have any recourse available when a bug remains in three consecutive years of Photoshop? (I know the answer: choose a new career.)

  • Secondary mouse button automatically releases after 3 sec

    *Secondary mouse button automatically releases after 3 sec even if still pressed* since upgrade to snow leopard. I have to use extra switches attached via USB being unable to move my arms.
    Apart from that Airport works after adding Location, I am still not able to access internet or mail, skype and time machine backups work. Switching to my neighbours unsecured WLAN I have no problems accessing mail and internet.
    A guest with a PC was also unable to use my WLAN, he was able to connect (gave him password) but could not use internet.
    Any ideas? The "secondary mouse button automatically releases after 3 sec" issue seems not to be posted yet.

    Hi @devitojj 
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers. For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that when you power off your notebook it automatically restarts in 4 seconds.
    You have tried several steps to try and resolve this but there is no change.
    As it repeated the behavior with the hard drive removed, you know it is not an issue with Windows.
    You have tried updating the bios and returning it to bios defaults but no change.
    Here is a link from answers.microsoft.com that helped other people with this issue.
    Windows 7 computer restarts automatically after shutdown
    This does suggest you edit your registry which does have the potential to cause issues, so be very careful.  I would also suggest backing up your registry before you attempt it, just in case.
    Back up the registry  from Windows.microsoft.com
    If that has not helped, I would try removing the Cmos or RTC battery for 30 seconds and then replacing it.
    Please let me know if this helped.
    Sparkles1
    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 the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Middle mouse button problem after arch update

    Dear Arch Users,
    I have a very strange problem in xfce4 with middle mouse button after arch linux update. It is especially annoying in firefox. Earlier, the middle button just opened a new tab (in firefox) now it also tryies to go back everywhere it can... So, when I am on a some site, I try to open some link by middle button click, it is opened in a new tab - OK, but the firefox goes also to the previos site on a current tab - it is terrible...
    I am using xfce 4.8.0 and xorg 1.9.5 (RC1).
    Cheers,
    alamakot
    Last edited by alamakot (2011-03-25 12:27:20)

    Thanks for the reply. It was by default set to true, but I have tried with false and the situation is the same... So, another hints please;-)
    Cheers,
    alamakot.

  • The right click menu pops up after I push the right mouse button, instead of when I release it.

    I am using an extension All-In-One Gestures. It works on my other installation of Firefox 4 - particularly, the right-click menu pops up if I click right mouse button and then release it so I can perform gesture or turn the wheel instead of getting a right click menu.
    But on this installation (basically the same addons and OS), the right-click menu pops up on pushing down the right mouse button so the right-button+wheel gestures do not work, and the menu stays there while I am performing the gesture which is rather annoying.
    So I though maybe there is some obscure configuration option to toggle to make right-click menu pop up after the button release? Or is this entirely the extension's fault? Note that it does work as expected on other installation...

    You have to enable in Firefox
    -> Options -> Content -> Activate JavaScript (yes) -> More
    -> Allow scripts the following actions
    -> Inactivate or replace context menu (yes)
    in order to allow All-in-one-Gesture to block the immediate appearance of the context menu.
    If you forbid Firefox JavaScript and/or the manipulation of the context menu by use of JavaScript, All-in-one-Gesture cannot work properly.

  • Whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?

    Hi
    I have a windows 7 and whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?
    I hope that was clear.
    Thnx

    Hello kmanthie,
    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    I worked on behalf of HP.

  • Middle mouse button problem

    hi,
    When I'm clicking a ling withe the middle mouse button to open the link in a new tab the page (the page that the link is on) jumps to up. the same happens when I closing the tab with the middle mouse button.
    I am using win 7
    thank you!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can flex tell if  it's a mouseup event when the user releases the mouse button outside the flex application?

    how can flex tell if it's a mouseup event when the user
    releases the mouse button outside the flex application? Say for
    instance mousedown was done within a 500x500 embedded flex app but
    mouseup is outside or relased on the HTML background. One more
    thing, when we have something draggable, Flex doesn't execute the
    stopDrag() when the user releases the mouse button outside the
    embedded swf or fles app. Pls. help me with this. Thanks!

    I don't think the flex app can tell what happens outside the
    app. But it can detect when it leaves the app, so I have found the
    following line works fine inside initApp():
    this.stage.addEventListener(Event.MOUSE_LEAVE, yourFunction);
    and you have to:
    import flash.display.Stage;
    Doug

  • Problema mouse button down in 2d picture

    Buongiorno a tutti, vi scrivo per segnalarvi un problema che ho notato sulla versione di labview 2014 64 bit per Mac
    La proprietà "Mouse - > Button Down" di una "2D Picture" non funziona come nelle versioni precedenti di labview, mi spiego meglio: nel momento in cui premo il pulsante sinistro del mouse all'interno di un controllo 2D Picture, il valore booleano della proprietà button down va giustamente a true (vedi allegato); nel momento in cui rilascio il pulsante sinistro del mouse il valore non va a false ma rimane a true, per farlo tornare a false è necessario spostare la freccia del mouse anche di un solo pixel, mentre sulle altre versioni di labview l'indicatore andava a false anche tenendo il mouse immobile.
    un saluto a tutti !
    Attachments:
    Schermata 2014-11-03 alle 16.02.02.png ‏43 KB

    Buonasera Paolo,
    potresti contattare al supporto di NI per verificare se è un bug dell'ambiente? Io non dispongo di un MAC per provare. Ti giro il link del supporto:
    https://sine.ni.com/srm/app/newrequest
    Buona serata.
    Dagaror

  • When I try to select bookmarks I am stymied because the mouse control is overridden. This became a recent problem. The way it worked in the past is that items were selected only when left mouse button was pressed.

    I select from bookmarks menu a folder containing folders & bookmarks, but I cannot select what I want because an automatic action occurs where my mouse cursor is right then. Selecting what I want from the list is impossible as an undesired selection opens inadvertently, without me any positive action by clicking left mouse button. This problem did not exist 6 months ago. This is now a big problem for me. I'm going to stop using FireFox if this problem cannot be fixed soon!

    You do not delete bookmarks in the Customize window.
    You need to open the Library if you want to delete bookmarks.
    *Bookmarks > Show All Bookmarks
    * https://support.mozilla.com/kb/Deleting+Bookmarks

  • Unreal Tournament mouse button problem [solved]

    Hi @all,
    I installed ut2004 and applyed the newest patch avaiable. The game runs quiet good but I have one annoying problem:
    The first mouse button has a really sucking behavior. Sometimes it doesn't work at all and I have to click several times until it works again. On the other hand sometimes it stays clicked so I don't stop shooting in the game.
    Thankfull for all answers! 
    Mathias

    After compiling/testing a mm- and ck-kernel I solved the problem by reseting the receiver and reconnecting the keyboard and mouse to it. 
    Mathias

  • I can not open the bookmarks tab or use the right mouse button in firefox

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1053467 /questions/1053467]''
    I recently downloaded firefox to my new laptop. I can not open the bookmarks tab or use any of the right mouse button options.

    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software.
    *Do NOT remove "personal data" when you uninstall your current Firefox version, because this will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How do I keep the drop down menu in the navigation bar open without continuously holding the mouse button down?

    When I use the mouse to hover over the naviation bar, I can see it, but once I select a drop down like bookmarks, I have to continuously hold the mouse button down until I move it to the bookmark I want, then I release the mouse button to select the bookmark. I used to be able to just click once to open the bookmark drop down, then click once to choose the bookmark I wanted to open. How do I get this function back?

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Try a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 23.0: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you lose personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for

  • Can I connect to the internet with an Ipad in Santo Domingo, DR while I'm on vacation?

    Can I connect to the internet with an Ipad in Santo Domingo, DR while I'm on vacation?

  • Possible? or someother problem ?

    well experts, one experts reply for a question. i saw that he'had two profile with same. https://forums.oracle.com/forums/profile.jspa?userID=717296 https://forums.oracle.com/forums/profile.jspa?userID=920005 is there any hacker? i dont know?. and i

  • Opening jpg/pdf files from Java

    Hi, How can I open jpg/pdf files or any file in general from Java, such that they open up in the default program in Windows? I dont want to read in the files using Java. Just open them in their default program. Eg. PDF should open in Adobe. thanks, p

  • Has Oracle8i Lite JAccelerator?

    Hi, I saw performance test received using JAccelerator running Oracle 8.1.5, but I can't find any information where to get it. How about Orale 8i Lite? Has Oracle8i Lite JAccelerator? Whithout it performance of Java stored procedures is very bad. Reg

  • ME22N: change of PO details in backend not getting replicated with SRM 7.0

    Hi All, We have created Purchase order using shopping cart in SRM 7.0 extended classic scenario. The PO created in SRM 7.0 is replicated into backend in ME21N using a Custom BDC program. But when the Purchase order is changed in SRM 7.0 the data is n