Transform click twice on Z for the double click on the mouse

When I click 2 times on the 'z' (90 keycode) key on my keyboard, my item is deleted.

I would change it and when you click 2 times with the mouse, the item is deleted, but I can't figure out how to do it... If mouseDown = true? It does'nt seems not to work...

timer=new Timer(500, 1); 
stageRef.addEventListener(KeyboardEvent.KEY_UP, removeDraggedItem);  
private function removeDraggedItem(e:KeyboardEvent)
{ if(timer.running==true) 
{ if(e.keyCode==90) 
{ stageRef.removeEventListener(MouseEvent.MOUSE_MOVE, dragItem); 
stageRef.removeEventListener(Event.ENTER_FRAME, itemHitTest); 
draggedItem.removeEventListener(MouseEvent.MOUSE_DOWN, itemClick);  
stageRef.removeChild(draggedItem); toolbar.useText.text = "";  
if (stageRef.contains(this)) stageRef.removeChild(this);  
Mouse.show(); 
Engine.playerControl = true; } 
}  else if(e.keyCode==90) { timer.start(); }
 }

I tried to change (e.keyCode == 90) by (e.buttonDown). No error but nothing happens when I double click... no idea why?

Use a double click listener.

Tags: Adobe Animate

Similar Questions

  • How can I get a driver 64 bits for the mouse?

    I installed W7 to xp pro. W7 is a 64-bit operating system, xp is a 32-bit. My mouse (Logitech USB PS/2 optical mouse does not work.) When I check the drivers, they are 32-bit and when I install new drivers, they are also 32-bit. How can I get a driver 64 bits for the mouse?

    Original title: mouse drivers

    The game, August 28, 2014 16:18:16 + 0000, WILLROSS wrote:

    I installed W7 to xp pro. W7 is a 64-bit operating system, xp is a 32-bit. My mouse (Logitech USB PS/2 optical mouse does not work.) When I check the drivers, they are 32-bit and when I install new drivers, they are also 32-bit. How can I get a driver 64 bits for the mouse?

    I don't know if there is a driver 64-bit Windows 7 to your
    mouse. It's Logitech to decide or not to produce a.
    Check on their website to see if it exists. If not, you
    are out of luck, but fortunately that a new mouse shouldn't be very
    Dear.

  • Wireless mouse is not found by the software installed for the mouse

    HP Comfort Wireless Laser mouse is not recognized during installation of the software provided with the mouse, and even after the pc has restarted that he still does not see the mouse. It however works but nothing can be configured in the software because it tells me no device found! installed on another pc with the same result: no devices found. went around with the connection button on the mouse, held next to the receiver: nothing.

    Does he know this problem?

    I recommend to uninstall the software for the mouse that you currently have and download and install the latest version of the software for the mouse:

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?product=4187476&LC=en&cc=us&DLC=en&lang=en&cc=us

    I think it was a problem that could cause the behavior you're seeing has been corrected in early 2012.

    I hope this helps!

    Dave (I work for HP)

  • best settings for the mouse Aspire V17 Nitro

    Can someone please help me get my beautiful new laptop Aspire V17 Nitro back in fast running.  I was playing with the mouse and wanted to see what it better then made more big and dark.  not a others that I don't remember fiddling with, but now the mouse is not sensitive to my contact, whom he accuses delay - buffer is even worse.  Apologizes for being a bozo.

    PamL,

    To reset the your mouse pointer to the default settings, if necessary, you will need to go into the control panel to do. Here are the steps to achieve this:

    Desktop mode

    1. Right-click on the Start button, click Control Panel.

    2. On the left, click on hardware and audio.

    3. In devices and printers, click the mouseon the left.

    4. Left-click on the pointers to the bottom tab, you will see by default, left click it.

    To adjust your settings for the touchpad, you're in mosaic mode, which simply means that you can click on the Start button of Windows once to get there.

    1. On your keyboard, type parameters.

    2. Left click on laptop settings.

    3. Left-click on PC and devices.

    4. Left-click on the mouse and touchpad.

    I'll predict what the camera I could get hold of parameters:

    Touchpad: on

    Activate Swiping from the left or right edge: on

    Reversal feeling of scrolling: Off

    To help prevent the cursor to move accidentally while you type, cut the taps or change the time before taps work: way

    If you set the unit back to this and it still has problems, it could be related to a recent Windows Update which took place on your device. You can perform a System Restore and your anti-roll system when it worked correctly and works before here.

  • I deleted the driver for the mouse and the mouse and the keyboard has stopped working.

    I had installed an updated driver mouse and mouse keep locking up. The Windows troubleshooting information indicates that I have to erase the disc from the mouse, and then reinstall the new mouse driver. When I deleted the mouse driver, the mouse and the keyboard no longer works.

    The computer is running Windows XP with Service Pack 3.

    The computer is one that I built several years ago.

    I tried the things:

    1. I tried the ALT, left SHIFT + Number Lock which is indicated as mouse keyboard operation who has worked in the past.

    Well it does not either from the keyboard is dead.

    2. I tried PS2 Mouse and a keyboard.

    3. I tried a keyboard and a USB mouse. The system shows new hardware found and he wonder then click NEXT to load the driver. No mouse, no keyboard, so no click.

    4. I can't get into the bios, because I can't hit keys to vector in the bios during startup.

    5. I tried to load the Windows XP disk, but the startup routine ask me to hit any key to boot from the CD.

    I have no mouse or keyboard control and therefore cannot respond to any action required by the system.

    Does anyone know a way to solve this problem?

    Solution of my wife - buy a new computer.

    Have a better solution for this problem?

    Thank you

    Bill

    Always try a PS/2 keyboard.  Maybe your PC is not able to access the BIOS, because the keyboard is USB.

    What make / model of the keyboard / mouse "kit"?

  • Left click of the mouse, Windows 8

    Hi, I am angry right now, I'm so angry.

    But let me explain why, so the version of windows 8, when I click on my mouse left, it does not send through, I would have either double click or click once it's really hard for the mouse shit to send a signal to the computer to click on something. I tried the speed of the double click mouse options and that all this grass. So I need urgent help.

    Thank you.

    If this happens everywhere, looks like mouse is defective. Try to set it if it's not a touchpad

  • Problem with 'if - ElseIf' statement with the mouse, click.

    I'm having a problem with the code IF ELSE use with a mouse click. I want whenever a user 'clicks' I want to run a particular block of code, up to 3 clicks, then nothing. I tried var meter click local and global but can't seem to cross the first '' if. '' That's what I have now (I use console.log () to keep track.

    Ready model I create a global var...

    Enter the code to run when the composition is fully charged here
    sym.getComposition () .getStage () .setVariable ('clickcnt', 1); //Set 1 meter

    var i = sym.getComposition () .getStage () .getVariable ('clickcnt');

    Console.log ("count starts at"+ i ");


    on the stage, I create an event 'click '...

    Insert the code for the mouse, click here
    var i = (sym.getComposition () .getStage () .getVariable ('clickcnt');)
    If (i = 1) {}
    Console.log ("counter is =" + i);
    c code
    sym.getComposition () .getStage () .setVariable ('clickcnt', 2); //Set against 2
    }
    ElseIf (i = 2) {}
    Console.log ("counter is =" + i);
    c code
    sym.getComposition () .getStage () .setVariable ('clickcnt', 3);
    //Set against 3
    }
    ElseIf (i = 3) {}
    Console.log ("counter is =" + i);
    c code
    sym.getComposition () .getStage () .setVariable ('clickcnt', 4);
    //Set against 4 to take away
    SYM. Play (100); //play scenario animation
    }
    else { //I'm using it to deny any additional clicks.} I don't know there is a good way to do this. I don't know him
    SYM. Stop (1000);
    Console.log ("End");
    }
    ;

    I when I run this it never happened the first if it's like the 'clickcnt' var is not getting updated or read correctly.

    Thank you

    Joel H

    try if (I == 1) double equal.

  • The mouse hangs after a few clicks on Windows 7.

    Why my mouse freez after a few clicks?

    Original title: after a few clicks my mouse freezes for a few seconds... Why?

    Hi Pierre,.

    Thanks for posting your question in the Microsoft Community Forums.

    You have a problem with the gel on the computer mouse. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) is it a laptop or a desktop computer?

    (2) what is the brand and model of the computer?

    (3) that you get an error message or error code?

    (4) what is the version of Windows installed on the computer?

    (5) did you do changes on the computer before the show?

     

    I would like more information about the issue.

    Method 1-

    I wish that you are running the fixit as it automatically installs the updates required for the mouse-

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

     

    Method 2-

    Note: assuming that you are running Windows 7, I would have you consult the troubleshooting steps.

     

    Step 1-

    You should check if the problem persists in Mode without failure.

    Check out the link-

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

     

    Note: Make sure you connect in Normal Mode after all the troubleshooting steps.

     

    Proceed to step 2, if the problem does not occur in Mode without failure.

     

    Step 2-

     

     

    I recommend you to perform a clean boot.

    Placing the computer in a boot minimum state helps determine if third-party applications or startup items are causing the problem. You must perform the steps in the article-

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: You must follow the step 3 of the article to return the computer to a Normal startup after you perform all the troubleshooting steps.

     

     

    Method 3-

    I would have you look at the article-

    Mouse, touchpad and keyboard with Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/Mouse-touchpad-and-keyboard-problems-in-Windows

     

     

    We know if you need help. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

     

  • Is there a way to detect the mouse during the event for the controls within a tab control?

    I need to change the mouse pointer when it moves on controls that are found in the tabs.

    Now when the mouse passes over the tab, LABVIEW does not detect the saperately of controls for the mouse over event.

    Is there a way to do what I intend to do?

    Your problem is with the Panel.Controls [] property. It does not return the controls that are inside containers (tables, tabs, groups) and returns only the container itself. As illustrated by Sam, if you want the references to the controls in the tab, you must get the references to the pages and get the controls on each page and add them to your original table and do this recursively.

    You can either write a VI to do this (or search for it. There was posted here screw that analyzes recursively the FP for all control references) or everything just statically for this control a tab and move. There is also a VI delivered with LV that can help you with this, but I suggest that you not use, because it will be difficult to operate if you generate an EXE file.

    And I also recommend the Tool of Capture of Code.

  • I put my mouse ps2 connection in my computer, but now the mouse buttons do not work. The pointer moves, but when I click it won't let me select anything?

    I checked the mouse on another computer and it works fine.

    Hi stevebaxter,

    1. When was the last time that the mouse was working fine on the computer?

    2. What is the serial number and model of the mouse?

    3. do you have security software installed on the computer?

    Check and make sure that you have installed the latest drivers for the mouse on the computer.

    Also, make sure that all the settings of the mouse on the computer are correct.

    Customize your mouse settings

    http://www.Microsoft.com/windowsxp/using/Setup/personalize/mouse.mspx

    If the previous step fails, then check if the mouse works in safe mode, and then comes back with the details.

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

  • Inspiron 7559 becomes unusable for the slow 2-3 minutes after each start/sleep

    Hey all,.

    As a preface, it was a laptop bought on sale of warehouse to Amazon, so it's a used laptop. No idea how long it has been used... But the drive was brand new by CystalDiskInfo. I'm guessing that this laptop has been opened but never really used. It is an Inspiron 7559, a fairly common game, laptop running Windows 10.

    Out of the box, this thing was running incredibly slow. Even when you set up Windows 10 navigation between pages was taking 10 + seconds for the mouse input to register. I also tried a fresh install of Windows just to be safe. The only things currently on the computer are the standard bloatware from Dell and a few hardware monitoring tools to diagnose the problem. And when I say slow, I mean open windows Explorer or the task manager takes 30 + seconds and the keyboard and mouse inputs are taking 10 + seconds. When I touched the wall I see that the CPU frequency jumps up to 800 MHz, assumingly the lowest possible frequency according to the range of multiplier.

    My temperatures are usually between 40-60 ° C, but my fans seem never actually start up. When I updated the BIOS fans started blasting, so I know that they are not only totally dead.

    I also run several tests of equipment who say the hard drive, memory, and CPU are fine.

    Someone has any ideas on what could be causing this device or any other means to diagnose the problem? Ran the Dell Diagnostics toolkit and the fan test does not throw any question, but I see no way to control the fans to test even if have the fans running on full blast would avoid this.

    So I was able to understand what I guess was the origin of the problem.

    I uninstalled the driver of "Intel Platform and thermal dynamic framework", detected on your tab chipset drivers page: www.dell.com/.../advanced

    The page says that it has been updated 15/09/2016, so this is a relatively new update... However, whenever this latest version of the driver is installed it prevents my fans ever, causing my massive CPU limitation. I've tried 3 - 4 times back in place, and the second the driver gets uninstalled fans start just up.

    For now, I'm running just with this uninstalled driver, that I could not find a previous version to check if there is a version that works.

    It is not a perfect solution, because I'm sure that this driver is what allows the dynamic zoom of CPU based on thermal, which means that I will be stuck to my stock of CPU frequency... And I certainly want mode to give me performance gain and I like downclocking occurs when I sit idle so I don't eat the battery life.

    If you have the means, I would hope that you would have someone to look into this to see if it is a reported problem.

  • How to change the boot order for the applications to the taskbar?

    When I moved to W7, software of my trackball wouldn't work and Kensington wouldn't fix, so I moved to a conventional mouse. I recently bought a better mouse and it has its own software. The software works very well, the problem is that it starts towards the end of the boot sequence. I would like to start earlier. The problem is that all the research I've done changing the order of departure come back with how to change the order of display in the taskbar.

    How can I change the boot order for the applications to the taskbar for the software for the mouse, boots earlier in the list?

    Windows does not have native to adjust the boot order, but there are third party solutions. See

    http://www.howtogeek.com/52043/how-to-control-the-order-of-startup-programs-in-Windows/

  • Mouse and UI Lag, be ground immediately after turning on the computer for the first time.

    Hello

    I started using Windows 7 yesterday for the first time after using Windows XP since its release.  A couple of things, first off I noticed lag and be ground everywhere instead travel windows autour mouse, move the mouse on the screen, etc.  It will just freeze and jump around, is not no good whatsoever.  I have a wireless optical mouse Logitech, maybe this has something to do with it, because I tried to install the software for the mouse, and I got a weird error and something not to be in the right place (very annoying).  Nobody knows why, I'll have this lag?  It's really annoying and never happened in Windows XP.  Any ideas on how to possibly resolve this problem?  Thank you very much.

    Justin

    Programmer for Sony Online Entertainment.

    Try to use another mouse, or by downloading the new firmware drivers/mouse from Logitech for your current mouse.  Have you noticed the behavior if you start in safe mode?  Or if you perform a clean boot?

  • THE MOUSE HANGS AFTER COLD START. YOU WILL NEED TO REMOVE THE BATTERY TO RESET. THEN CLICK OK

    ON A COLD, AFTER A MINUTE OR TWO, START THE MOUSE FREEZES.  I HAVE TO REMOVE THE BATTERY AND REINSERT IT AND RE-BOOTING, EVERYTHING ALREADY WORKS FINE.  AN ANOTHER COLD, SAME SEQUENCE START MUST BE FOLLOWED.  THIS ALL STARTED AFTER INSTALLATION of WIN 7 hp

    Hello

    What is the brand and model of the mouse?

    I suggest you to update the drivers for the mouse on the computer and check if it helps.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

  • The mouse configuration has changed?

    My mouse has inexplicitly changed from right to left configuration and will not return when I go into Control Panel to use the option of changing the configuration settings button mouse? Left and right configuration provide the same answer of the left hand?

    Hi,

     

    1. What is the operating system installed on your computer?

    2. What is the brand and model of your mouse?

    Please follow the methods and check if it works very well.

     

    Method 1:

    Follow the steps to uninstall and reinstall the mouse drivers.

    (a) click Start, type devmgmt.msc in the start search box, and press ENTER.

    (b) double click on mouse and other pointing devices.

    (c) make a right click on your mouse, and then click Properties.

    (d) on the driver tab, click on uninstall.

    (e) follow the on-screen instructions to complete the wizard.

    When the uninstall process is finished, please reinstall the driver from the device manufacturer's Web site and check if it works very well.

    Method 2:

    Follow the steps to update the drivers for the mouse.

    Check out the link:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-in/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    For all windows questions do not hesitate to contact us and we will be happy to help you.

Maybe you are looking for

  • why I can't phone to download iOS 10 now that I went back to iOS 9

    why I can't phone to download iOS 10 now that I went back to iOS 9?

  • Deliver the desktop print spooler.

    I installed 6 Samsung SRP POS printers in 3 of my PC in the shop. Today morning I saw none of them. When I checked, the Print Spool is not started manually. Now when I start the service, it starts and I see all my printers and an error message is dis

  • While the headset is plugged in, there is no noise heard.

    Hi, my laptop computer brand Acer isn't The product name is Esxtensa 5220. My Windows system is Ultimate(64Bit) 7 I have installed a Adiou driver or Audio related software when I installed Windows 7 because when I look at the official Acer site, I ha

  • XP does not recognize buslink usb 2.0 cardbus I can do

    addition to the XP Home does not recognize buslink usb 2.0 cardbus for laptop... What can I do to use it or can I use it at all?

  • vague simultaneous reading

    Hello, im developing a small game on storm 9500 Software, is it possible to read a wav (music) and play at the same time another wav file? I used the class "microedition.media.manager" (do not know if there is another way to play sounds) I have creat