How to stop moving after the first click textbox

I can't understand how to get the text box must stop moving once I put the location of the text box with the first click. help please?

protected function txtloc_BTN_clickHandler(event:MouseEvent):void
{
addEventListener (MouseEvent.CLICK, newTxt);
}


public void newTxt(event:Event):void
{
addEventListener (MouseEvent.CLICK, newTxt2);

} //end newtxt

public void newTxt2(event:Event):void
{
x 1 = mouseX;
Y1 = mouseY;

usrtxtlabel.visible;
usrtxtlabel.x = x 1;
usrtxtlabel.y = y1;

usrtxtlabel.x;
usrtxtlabel.y;
usrtxt.focusRect = true;

removeEventListener (MouseEvent.CLICK, txtloc_BTN_clickHandler); does not work

}

public void removeHandler(event:Event):void
{

}

[]] >
< / fx:Script >

< s:TextInput = "39" x = "252" width = "142" height = "30" id = "txtinput" fontFamily = "Times New Roman" / >
< s:Label = "59" x = "67" width = "104" height = "32" text = "{txtinput.text}" id = "usrtxtlabel" / > "

< s:Button = "394" x = "252" label = 'txt place' id = 'txtloc_BTN' click = "txtloc_BTN_clickHandler (event)" / >

remove the two auditors.

Tags: Adobe Animate

Similar Questions

  • How to disable the button after the first click (click multiple problem)

    Hello

    I have a ' create' button related to processes of insertion in the database view. The problem is that when I click on him twice, I have two insertion in my database (even with the option run processes: "Once a visit to Page"). Is it possible to disable the button after the first click? and activate on load before the header?
    or maybe there's better solution? I thought that the process of the option run must stop multiples (insertion).

    Przemek

    Przemek:

    You can do the following.
    (1) set the "button"style"of the 'Create' button to be 'Button HTML'"
    (2) set the "key Attributes" have
    ID = "myButton".
    (3) in the "optional Redirect URL" section set to 'Target' ' "URL".
    (4) for the URL, specify {code}
    JavaScript: $x('myButton').disabled = true; doSubmit ('CREATE') {code}

    CITY

  • How to make the style of the cursor (pointer) to return to the default base pointer after the first click?

    Relatively new to animate dashboard. And not really a coder. I want to stop the slider to the pointer on working capital, once the button has been clicked once. I can't hide the button after the click, but if the cursor is moved above where was the button, it turns into the pointer. I want to stop it, so that it is no longer replaces the pointer and stays in the default cursor after the initial click.

    Hey Rebeca.

    Click on him trying to add the code

    SYM. $("element_name").hide ();

    hope this helps

  • Why my playlist stop playing after the first song

    I am puzzled, there seems to be a new paradigm for iTunes the 10.11 and iTunes 12.3.2.35

    I create a playlist and the reading list I created in the previous version are there on the left panel and play in order, now when I create a playlist it is a big screen in the center of the screen that displays the songs in the playlist: but the songs not auto play and once that I get the first to play the rest aren't!

    I advise to another Member of the community to select the playlist with CTRL-click on the left pane where they gave me several selections which

    copy play stopped, I did it, went to the top of the window and press the play icon, no game, selected in the window CTRL-click game, still not play, then click on the first song in the list of SINATRA CHRISTMAS, would be playing the song but the rest of them did not.

    1. How can I get packed playlists to play

    2. how I created playlists to play in order

    3. What's all this 'up' - following.

    Please help, I have a sharp mind for a 68 year old, but it's disconcerting.

    jojoguitar

    mn_usa

    There is a follow-up, I discovered by hunt a peck, but for the life of me I don't understand the thought process of the WORKS of this THING of PLAYLIST.

    Once you do, you must always select each song in the list of what we call next door, or add to a maximum, then then you have 9 songs at the top: who come from A DIFFERENT PLAYLIST.

    Community of good luck, and if anyone, anyone has a simple process step by step, PLEASE send me the link or even a list of home made I can print to study.

    jojoguitar

    mn_usa

  • Disabling a button "submit" after the first click on a custom page

    Hi guys,.

    I have a requirement where I need to add a button "submit" ("email") to a custom page, once the button is clicked to send a notification by email, it should be disabled for the next time that the user not send the email for the second time.
    Adding a button is OK, turn it off

    Pls help me if anyone has ideas/thoughts.
    Appreciate your help.


    Thanks in advance,
    Suman

    Hello

    Your condition can not be filled with blockoneverySubmit API because it would block if it is between the transaction once the event is over, you can click on it again. Better at the event click redirect it to the same page and make this option off or use PPR (better solution).

    Kind regards
    Out Sharma

  • SQL more how to stop script after the exception of the DDL

    Hello

    I have script .sql, which I managed by SQL * more.

    Some migration of data and database structure changes were made in the script.

    So, I use a lot of distinct calls:

    @script_name.sql

    @script_name_1.sql

    @script_name_2.sql

    ...

    Some of the scripts contains DDL as create table or column.

    contains some declare blocks (DML).

    Is it possible to stop the script after an exception has occurred?

    Thank you, Olga.

    Hi, Olga.

    You can use the SQL * more order

    WHENEVER SQLERROR EXIT

    to tell SQL * more to stop the execution of orders and immediately disconnect after any exception SQL is triggered.

    I don't know of anyway to stay connected, but to stop script execution, after an error.

  • 36.0.1 under Windows 7 Firefox crashes on the first click, can't kill processes

    After the 36.0.1 on a Windows 7 computer, Firefox crashes after the first click on a link or when you try to open a new tab. I can't kill the process from the Task Manager. Need to reboot to get rid of the process.

    My attempts to solve the problem so far:
    Uninstalled Firefox & my anti-virus program, removed Mozilla dirs Program Files and AppData and cleaned the registry. Then reinstalled Firefox after the restart, still hangs on the first click on a link. Even impossible to kill the process, help to only to restart.

    I tried on another Windows user; does not help. Still the same symptoms.

    PS: Related to this thread: http://support.mozilla.org/en-US/questions/1051108

    Thank you for your support. Given the quick succession of versions of Firefox, I just waited out 37. My problem is over now.

  • SWF shows the border in IE browsers before the first click

    After the first click, then the SWF also works well in Internet Explorer (5.5, 6 and 7) as in Firefox, Opera and Netscape. Even after files are cached, the first load after returning on the site produces a slight edge, without bearings being apparent. Then after a click, the border disappears and bearings to work.

    I'm looking for CSS rollover style suggestions online and that you've not found one that looks like it will produce what I want.

    Is there a more elegant solution to get the same results I get now in Firefox, etc. ?

    http://persuasiongraphics.com

    Okay - it looks like you need to uninstall and reinstall. Read this technical note
    first-

    http://www.Adobe.com/cfusion/knowledgebase/index.cfm?id=8f101099

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "litdesign" wrote in message
    News:ejd2me$32J$1@forums. Macromedia.com...
    > Murray, it then. It is possible, but I checked and re-checked. I took
    > screen
    > photos of the preferences page and the DW version number. Same app.
    > Is
    > do you mean? Any ideas?
    >
    > http://persuasiongraphics.com/preferences.html
    >

  • Online support chat stops several times after the first shipment.

    A purchase of fonts is absent from the history of my purchase so I can't reinstall.

    I open an instance of cat, ensure the reception and ask the agent to restore the purchase, but by clicking on send does nothing after the first shipment.

    I've tried three different browsers and the problem occurs every time.

    Any suggestions?

    try to use someone else's computer.

  • How can I add a game action on an object that contains the first click and read reversed to this object even a second click action?

    How can I add a game action on an object that contains the first click and read reversed to this object even a second click action?

    First create a symbol of the object.

    Then add the code in the event click on this symbol as below:

    Insert the code for the mouse, click here

    var bReverse = (sym.getVariable ("reverseDir")! = undefined)? (sym.getVariable ("reverseDir")): true;

    sym.setVariable ("reverseDir", bReverse)

    {if (bReverse)}

    sym.playReverse ();

    }

    else {}

    SYM. Play();

    }

    HTH,

    Vivekuma

  • Windows 7 Pro 64-bit not start after the first update.

    Integrated system:

    Motherboard: Version of the BIOS Gigabyte GA-X58A-UD3R revision 2.0: FA

    CPU: Intel Core i7-930

    Memory: 6 GB Corsair PC3-12800 DDR3 Triple channel

    HD: Western Digital Black 500 GB SATA 3 Gb/s

    Water cooler: Corsair H50

    The operating system has been installed and running perfect. Readers for the mobo has been installed and and all is well. I can see everything on my computer, network, disks, programs, Device Manager and etc.

    First update for the system, only the important updates were downloaded and after the reboot, the system will not start. The system to start repairing the system but found no problem and restart again and return to the screen of system repair.

    The operating system has been installed 5 times and I had the same problem after the first update, the system unbootable. I tried to boot from the Windows dvd, but I had the same problem again.

    Can someone help me with this problem?

    Thank you

    M. Vilela

    Hi Danielle,

    In addition to the suggestion of Rock Star, you can try the following steps and check if it helps.

    Step 1

    You can first try to start the computer in safe mode and check if you can boot to the desktop. Access the link below and follow the steps to boot to the desktop. To boot to the desktop in safe mode keep tapping key F8 during restart. Once you see the option to start in safe mode select and press to enter.

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

    Step 2

    If you are able to boot to the desktop in safe mode, you can access to view the history of update on your computer and search for the error code and the updates that failed to install and post it back.

    To view the update history, follow the steps below:

    A. open the control panel (all items view) and click the Windows Update icon.

    B. click on the link to view update history.

    To view the details of a single Windows Update. Select and right-click on a Windows Update list, and then click details.

    Step 3

    I would say also allows you to perform a system restore in safe mode to see if you can restore the computer to an earlier date when it was working fine.

    To restore the operating system to an earlier point in time, follow these steps:

    a. Click Start, type system restore in the search box and then in the list click on the system restore program.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    b. in the System Restore dialog box, click on choose a different restore point and then click Next.

    c. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    d. click Finish.

    The computer restarts and system files and settings are back to the State they were in when the restore point was created.

    Access the link below to learn more about how to repair the operating system and how torestore configuring operatingsystem to a point in time earlier in Windows:

    http://Windows.Microsoft.com/en-us/Windows7/what-is-system-restore

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • MU computer stops immediately after the start-up or attempts repeated; So sometimes minutes after;

    The computer stops immediately after the start, repeatedly or a few minutes after have managed to start it. The error log showed two evenys:

    (1) the service Acquisition of Image Windows (WIA) suspended at startup; (2) the server {81ED811 A1F4E726-8CF1 - 11 D 1-BF92-00600} is not registered with DCOM within the required time.  After restarting the computer, and after installing all of the updates, I installed the last printer; I unplugged the printer and the computer booted immediately!  Does anyone have suggestions, and if I have to update the drivers (hp Laser jet 5 p & hp scanjet 5370C;) How? Please help, frustration to a max; Thank you very much; HeinrichDS

    HeinrichDS

    Recommendation of the Palcouk of sense what is the operating system and is worth a try.  If you're still having problems, then you need to talk to specialists in XP (because it is a Forum for Vista).  In this case, please transfer your question in the Forums of XP to http://social.answers.microsoft.com/Forums/en-US/category/windowsxp where the XP experts will be happy to help you.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Upgrade Windows 8 Pro blocked after the first reboot

    I have a HP Media Center PC m7470n. When I upgraded with Windows 8 Pro disc, after the first reboot, it gets stuck on the Windows form with turning points. He's not going back to XP and when I stop and restart, he goes right back to the same screen. I tried to boot from a hard drive and CD ROM with the disc in. I also tried to do a system restore, but it still maintains just that goes back to the same screen. , I even contacted Microsoft Support and after 1 1/2 hours, I had to let go because I had to go to work and they do not have a solution for me. I am not able to go in Mode safe either. Can someone help me with this update or at least get back to XP so that I can at least use my computer? At the moment I feel that Windows 8 Pro comes to have my computer in an oversize weight.

    Hello

    Thanks for posting the question in the Microsoft Community. If I understand correctly, you can not connect to the computer. I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    I suggest you follow the steps:

    (a) starting from the DVD of Windows 8.

    (b) click on repair your computer.

    (c) click on troubleshoot.

    (d) click on Advanced options , and then click auto repair.

    (e) follow the on-screen instructions and complete the repair.

    If you are always faced with the question, please respond with more information, and we will be happy to help you.

    Thank you.

  • Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated. No difficulty to make it work?

    Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated.

    I tried to reset firefox and search for similar problems, unfortunately found nothing.

    It is also weird empty space before the address in the address bar

    other extensions and addons seems to work very well.

    Firefox 30 spent some less commonly used "Always turned on" plugins "asking to activate. To check and change this to TrueSuite, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, check the setting on the right side of TrueSuite.

    Any difference?

    Note to other readers: the original poster had to leave Firefox and start it again until it is actually entered into force.

  • Originally when I cliked on a new e-mail in the Inbox, it immediately opened. Now I have to double-click on it to open it. How to get back to the simple click?

    It now takes a double click to open an email. How to open on the first click?

    Sorry about that. I am a first time user and I did not know that he has posted the first time I went.

Maybe you are looking for

  • Satellite P750 - formatting the disk deletes C recovery files?

    I own a Toshiba Satellite P750 and I want to install Windows 8 on my laptop, I wonder if the recovery files will be deleted which is what I mean is that after formatting the C drive and install a new OS, I'll be able to restore the laptop to factory

  • Satellite P300D - 21 K - no MESSAGE or start

    I'm trying to fix a Satellite P300D-21 K, who got to the tea in. I cleaned up with IPA, but go to the post OFFICE not tea or not begins to start. Many of the lights will light and the optical drive and the fans turn up.The screen or on an external mo

  • Helix keyboard problem

    On the propeller Thinkpad how to use keys F and let the button end to be thin and not Insert? The keyboard dock of the propeller doesn't have a button separate insert (but Fn + end) Now, I need the F keys be default... but I don't want to put an end

  • Cannot install the fax in windows xp sp3

    When I try to install the fax component, the installation is complete. However, I don't see the fax software installed in the start menu > all programs > Accessories > communications... what could be the problem? Please help me. I use windows xp pro

  • Blank web pages by web form

    I have a website where my clients can, once I send them a code, copy and click on the link, and paste the code into the box provided. Once this is my clients can create a username and password to log-in to my site. Once logged in, if they create a fo