How do i get the textbox to stop moving around after first click

I can't figure out how to get the textbox to stop moving after i set the textbox location with the first click. help please?
protected function txtloc_BTN_clickHandler(event:MouseEvent):void
                addEventListener(MouseEvent.CLICK,newTxt);
            public function newTxt(event:Event):void
                addEventListener(MouseEvent.CLICK,newTxt2);
            } //end newtxt
            public function newTxt2(event:Event):void
                x1 = mouseX;
                y1 = mouseY;
                usrtxtlabel.visible;
                usrtxtlabel.x = x1;
                usrtxtlabel.y = y1;
                usrtxtlabel.x;
                usrtxtlabel.y;
                //usrtxt.focusRect = true;
                removeEventListener(MouseEvent.CLICK, txtloc_BTN_clickHandler); //does not work
            public function removeHandler(event:Event):void
        ]]>
    </fx:Script>
    <s:TextInput x="39" y="252" width="142" height="30" id="txtinput" fontFamily="Times New Roman"/>
    <s:Label x="59" y="67" width="104" height="32" text="{txtinput.text}" id="usrtxtlabel"/>
<s:Button x="394" y="252" label="txt location" id="txtloc_BTN" click="txtloc_BTN_clickHandler(event)"/>

remove both listeners.

Similar Messages

  • How do I get the background to stop bouncing around, it's not when I'm in apps only on my lockscreen and homescreen

    How do I get the background to stop bouncing around, it's not when I'm in apps only on my lockscreen and homescreen

    goto settings>general>accessibility and enable reduce motion

  • How do I get the artbard to stop moving on it's own?

    I am using an iMac 27, Illustrator CS6, how do I get the artbard to stop moving on it's own?
    I called Apple and it's not hardware.
    I can't believe the nerds at Adobe would make it so the artboard must always be centered, hence it moves on it's own and it's driving me "bat-****" crazy!
    Please help me.

    Thanks fior your thoughts. It might be.
    But, after I release my hand from the magic mouse (wireless) the screen shifts either to the right or left with no ryhym or reason.
    I wonder if some good intentional nerd at Adobe thought, wow, I'll make it so the artwork will always be centered like "responsive design."
    I am really hoping that's not the case. I have been using the app daily since 1987 and just recently upgraded to CS6.
    I guess I could go back to CS3.
    At least I won't feel like the earth is moving underneath me evrytime I click on an object.

  • How do I get the page to stop moving up and down so much?

    Re: Pages - Please tell me how I can keep the page from moving up and down so much.  It's irritating.  The page I'm writing on wants to bounce several times before it finally stops...like when you move the cursor, sometimes the page bounces.   Thanks for any help you can give.
    -R.J.

    R.J. Johnson wrote:
    Jerrold, good input about the scrolling to the end and the irritating "bounce."  This is what annoys me.  I bought a refurbished iMac 2 weeks ago that was made in May 2011 and I thought it would have Snow Leopard on it.  But it came with Lion.
    Also, yes, it comes with the Magic Mouse that is wireless.
    1,  So, I am just stuck with the Lion bounce?
    2.  PS Do you guys know how to have the Mail icon open on the Dock without the big mail window opening, too?  I do not set the Option for Mail to OPEN AT LOGIN because I hate having to close that big mail window every time I boot up the computer.
    R.J.,
    1. No matter what mouse you have, you will get a "bounce" if you bang into the limit. If you scroll gently into the limit and then back off, you will not see the same effect, or at least not the same degree. Check to see if your tracking speeds are similar with the two pointing devices. I think this will have more influence than whether the device is wireless or not.
    2. If you don't want anything to change in Mail when you boot up, I think you should just leave it open when you Shut Down the computer. With Lion, your Mail app should come back in the same state as when you Shut Down.
    Jerry

  • In mail, how do I get the wheel to stop going around and around beside the "sent" on the side of the screen?d

    I am having trouble getting rid of the annoying broken up circle going around and around on the right side of "sent" in the left panel.  I went into mail preferences and retyped the passwords for the server, but it still keeps going.  Also tried a repeat sending of the message.  Now the messages keeps showing up in the Outbox with the wheel still turning.  Is there anything more to do or is this a matter for my server company?

    I just checked with my service provider to make sure that my passwords are the same for them as well as my mail for this account.  Was able to send an email from online, but not mail on my iMac even though when I edited my accounts in Mail preferences to be sure that the password matches.  This is driving me crazy.  Please help.

  • How do i get the time to stopping coming on and off on my black screen. is that daydream

    how do i get the time to stop coming on and off on my black screen. is that daydrea

    https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/95499/p/30,6720,8882

  • How do I get the phone to stop saying the words out loud as I text them?

    How do I get the phone to stop saying the words I text outloud as I text them?

    Settings > General > Accessibility > Voice Over

  • How do I get the Interval to keep from repeating after it's used once?

    How do I get the Interval to keep from repeating after it's used once? Because I tried clearInterval but I couldn't get it working.
    When my code looks like this, with ClearInterval, it refuses to execute my action, which is to change scenes after a short interval:
    (Pardon if there is some formating errors, I had to reformat it for the Internet)
    Code with clearInterval command
    stop(); 
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void{
       gotoAndPlay(29);   
       var myInterval:uint = setInterval(fl_ClickToGoToNextScene_14,3000);   
       clearInterval(myInterval);
    function fl_ClickToGoToScene_14(event:MouseEvent):void{
        MovieClip(this.root).gotoAndPlay(1, "Testside");
    However, when my code looks like this it refuses to stop looping:
    Code without ClearInterval command
    stop();
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
       function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void{
       gotoAndPlay(29);
       setInterval(fl_ClickToGoToNextScene_14,3000);
    function fl_ClickToGoToScene_14(event:MouseEvent):void{
        MovieClip(this.root).gotoAndPlay(1, "Testside");
    Any ideas? Also, feel free to dumb your answer down, because I am completely new to Flash, Actionscript and coding.

    If you insist on using setInterval - you need to declare interval id in a higher scope so that you can clear it later:
    stop();
    var myInterval:uint;
    Kollektiv.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
              gotoAndPlay(29);
              myInterval = setInterval(fl_ClickToGoToNextScene_14, 3000);
    function fl_ClickToGoToScene_14():void
              clearInterval(myInterval);
              MovieClip(this.root).gotoAndPlay(1, "Testside");
    I suggest you use Timer instead:
    stop();
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    var timer:Timer = new Timer(3000, 1);
    timer.addEventListener(TimerEvent.TIMER, fl_ClickToGoToScene_14);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
              timer.start();
              gotoAndPlay(29);
    function fl_ClickToGoToScene_14(event:TimerEvent):void
              timer.stop();
              MovieClip(this.root).gotoAndPlay(1, "Testside");

  • How do I get the music back on my iPhone after manually deleting it from the device (to get space for photos/videos)?

    How do I get the music back on my iPhone after manually deleting it from the device (to get space for photos/videos)?  I can sync with iTunes but it doesn't copy these songs back, even though they still appear in my iTunes library.  I can click on the Music link  under 'On My Device' in iTunes and the missing songs all appear to still be on the device, but they are not.  I normally delete using iTunes and do not have this issue.  This time I was out and needed more space to shoot photos and videos so I removed a lot of music from my phone through the Music App.

    The songs I'm trying to reload on my phone are on my PC.  These we had loaded into iTunes.  I can remove them all from the library and then add them all back one by one I imagine.  The problem I'm having is that I removed them manually from the phone, they still appear in iTunes music library yet they won't sync.  I don't want to take the time to compare the phone to my library, remove from the library what's missing on the phone and then add them all back again.  64GB (mostly music) will take a while.

  • How do I get the song to stop repeating

    the same song is repeating on my nano, how do I change the setting to stop repeat?

    Head to Settings -> Reset and select Reset All Settings.
    Any luck there?
    B-rock

  • How do I get my iPhone to stop messing around

    OOkay people how do I get my iPhone to stop auto correcting to "ducking" ... You know what I'm trying to type there? Turning off auto correct doesn't work... It still auto corrects just that one word even though auto correct is disabeled.  Apple seems determined to censor my freedom of speech but it's not right or funny. How can I make it stop?

    inck243 wrote:
    Well thats not true because I constantly have to dismiss the change every single time. Even when I disable auto correct. Why does it still try to change when I disable auto corrext?? Because they are trying to censor me. Again, it doesn't learn when I try to dismiss it, every. Single. Time.
    No one is trying to censor you. Apple has no interest in what Anglo-Saxon words you chose to use. I can tell you, from personal experience, it does learn. I can tell you, it's a good thing I don't have reason to type the word "ducking" very much as it would be annoying to have to correct it every time.

  • I get the "firefox has stopped working" message after closing browser

    Hello.
    My problem is that when I close the FireFox browser I get the "FireFox has stopped working" message. It's pretty annoying. I've read some other posts here that described a similar problem and have tried some of the suggestions in them including:
    A clean install, a browser reset, running in safe mode, unchecking hardware acceleration, disabling extentions and plugins one at a time, uninstalling my antivirus (avast), rolling back to version 23.01 and checking run in compatibility mode that someone claimed helped them. None of this was effective.
    It seems like after a computer restart the browser will be ok for 2-4 closings and then it will start with the message on every closing. Also, after I uninstalled avast it was good for 6 closings. Rolling back also gave me about 6 message free closings. But then the messages start and doesn't stop.
    Is there anything else I can try? Thanks in advance for any suggestions.

    One thing is for sure, and that is if the only page i visit is the Google homepage (not logged in) or this site (mozilla forum), the problem does not occur, ever. I can't make it happen.
    If i visit yahoo.com (not logged in) (or ighome.com, logged in), as examples, it happens every time.

  • How do i get the lefthand sidebar to show everything after 11.1.5?

    restarted my computer last night. now the itunes sidebar is all weird.
    I figure this must be some sort of weird update.
    how do i get the sidebar to show everything again, instead of having to drill down strangly placed weird icons?
    like a 'library' sidebar drill down, that shows all movie and music and devices on the sidebar.
    would like it to always show everything like in previous versions of itunes as default.

    Thank you. that was it.
    (still shell-shocked over the arrow keys going away and other surprise over-simplification updates)

  • HT5058 How do I get the icloud contacts information moved over to the exchange contacts?

    How do I get my icloud contacts on my iphone moved into my exchange contacts at work? I have originally uploaded the contacts from my personal blackberry to the iphone then later we got exchange setup. How do I get the contacts from icloud loaded into exchange? I have access to them on the phone but not on my outlook exchange at my work computer.

    Hi neilfrommd,
    If you are having issues with your password not being saved in Mail, you may find the following article helpful (it is aimed at Mountain Lion, but should also apply to Mavericks):
    Mail (Mountain Lion): If your password is not saved
    http://support.apple.com/kb/PH11775
    Regards,
    - Brenden

  • How do i get the camera roll to view new photos first then the old photos?

    Does anyone know how I can get the camera roll to have the new photos on top and the older photos on the bottom?  I hat having to scroll down to see the new photos.

    On iPhone 5 it seems the default behavior is to open to the newest photos if your album is closed, or to open to newest photos if the album is open, followed by opening to your last viewing position if that position was not the newest photos.
    From the camera, after a photo is taken and the "Album" icon is tapped (left of the camera button in portrait orientation) to view the newly taken photo (or to simply review your pictures) the newest pictures appear from bottom to top. I am referencing IOS 6.0.1 on an iPhone 5. I hope this helps.

Maybe you are looking for

  • Capture current query for a report region

    Apologies if this is answered elsewhere, but I could not find it. I have a reporting application where several different reports that have a list of customers. I would like to develop a means to generate a mailing list for the customers that is gener

  • Large vertical gradients not working like examples

    Hello guys, now this seems to be a very straight forward thing to do and there are loads of tutorials about the subject. None of them are helping me get this right though, and I can't for the life of me figure out what's wrong... Im trying to create

  • How do I view a saved web page?

    I saved a web page by clicking on File; Save Page as; and then saving it as a web page. This created a folder, which contained a large number of files, but when I try to open the folder, it simply opens the folder in Windows Explorer, and does not br

  • Swift Net MT-103 Interface with SAP

    Hello all, I am having a hard time to understand the concept and reason to use the Swiftnet MT103 (Outgoing Payment). 1)At what point I will consider MT103 solution versus EDI820 (Outgoing Payment)? 2)What will be the considerations I need to take pl

  • General question on uning JAAS for webApp authentification

    Hi, I am new to the world of JAAS and its usage on securing web services like servlets on tomcat or ejbs on jBoss. I want to write a loginModule that allows login via JavaCard. Therefore I want to use a challenge and response authentication mechanism