Text border wont reduce after a certain length

Right now I'm working on a border that will expand as the text width gets larger. and to have the border have a maxium size yet still be able to enter text.
What i'm having trouble with: Once I reach a certain width, backspace dosent reduce the border anymore.
// border code
if (inputTxt.width <= 160)
          inputTxt.border = true;
inputTxt.autoSize = TextFieldAutoSize.LEFT
} else{
          inputTxt.border = true;
          trace("working");
          inputTxt.autoSize = TextFieldAutoSize.NONE
// backspace code
key_bksp.addEventListener(MouseEvent.CLICK, bkspClickListener);
function bkspClickListener(e:MouseEvent):void{
          inputTxt.replaceText(inputTxt.text.length-1, inputTxt.text.length,'');
          inputTxt.border =true;
any help would be appericated

unless that border code is in some function or otherwise repeatedly executes, it doens't look like anything would dynamically change the autosizing of inputTxt.

Similar Messages

  • Mail wont connect after a certain time

    Ok my mail accounts all work great....i have 5 set up and no problems connecting and retrieving mail......but every now and then the mail will just search for mail continuously to no end......never retrieves any new mail even though its there.....just doesnt connect to the server.....the only way to get this back to normal is to do a reset by holding down the home button and power button......this has happened s few times so far.....any ideas? thanks

    I read that if you hold down the home button and keep it depressed until you return to the launch screen it effectively corrects the problem. I don't know, but I had the problem a few days ago, tried that, and haven't experienced it since.

  • Display "global" text caption for a certain length of time

    I hope I can explain what I'm trying to do...
    I have a text caption that I want to conditionally display for a fixed length of time at the start of most of slides in my project.
    The caption is placed on an introductory slide in the project, in a hidden state.
    Then I have created a Conditional Action to Show the caption. This Advanced Action is then called On Enter for the slides where I want to display the caption.  However, I need to be able to hide the caption again after a couple of seconds.
    So essentially I want the following logic:
    On slide entry, if displaying caption, then Show Caption, Wait 2 seconds, Hide Caption.
    But I can't see how to do this using a single text caption that is available project-wide.
    Any suggestions would be greatly appreciated!

    Check out David Stiller's blog article on that exact topic
    here:
    http://www.quip.net/blog/2006/flash/how-to-pause-timeline
    smile82 wrote:
    > How do i stop a movie for a certain length of time?

  • Messages wont work after I received a very long text

    Messages wont work after I received a very long text, it keeps freezing up and wont even let me delete that very long text.

    Remove Messages app from Multi Tasking and make a Reset.
    (Press and hold the Sleep/Wake button and the Home button together for at least ten seconds,
    until the Apple logo appears.)

  • I am using final cut express. It seems that any clip over a certain length, say 5 min, does not fully transfer! All shorter clips are perfectly fine. Is there some reason why longer clips are not fully transferred? (a half blue circle shows up on the tran

    I am using final cut express 4. It seems that any clip over a certain length, say 5 min, does not fully transfer! All shorter clips are perfectly fine. Is there some reason why longer clips are not fully transferred? (a half blue circle shows up on the transfer list, indicating that the clip was not fully transferred. When I check in the capture scratch folder, sure enough the whole clip is not there!
    Is there some glitch in final cut express that only allows short clips to be transferred in full?

    Thanks for the reply. I'll try to answer all the questions (I am a relative novice). Your help is appreciated.
    By the way, the other reply I received suggested the following:
    In Final Cut Express>System Settings>Scratch Discs make sure the Limit Capture/Export File Segement Size To: is not checked.
    I did this and it was already unchecked. So this is not the answer...
    The strange thing is, I have been logging and transferring with FCE for 2 yrs without any problems at all with shorter clips, but have come up against the problem with long clips (over 5 or so min)  the whole time. I got around it by simply making sure I stopped recording after less than 5 min while shooting footage. OR if I accidentally got a long clip, I import into imovie and then import into FCE. Not very streamline and I worry about compressions altering quality!
    I am now trying to import a 20 min and a 17 min clip and it only transfers around 3 minutes of each, I have re-tried several times and it happens repeatedly. The blue circle in the transfer list shows up as a half blue circle instead of full. Clip cuts off after 3 or so minutes.
    ANSWERS
    how you are ingesting the files
    From external flash drive connected directly to mac using FCE.
    the format of the source footage
    digital via ext flash memory. Frame size :1929X1080 / 25fps
    what camera shot the footage
    SONY HXR NX5
    how you are connecting to the computer
    from flash memory directly via usb
    what version of FCE you are using
    4
    what OS your computer is running
    10.6.8
    what model Mac
    macbook Pro intel Core i7
    what drive you are using for Capture Scratch
    3TB external drive (plenty of room left)

  • Rounding After a Certain Number of Characters

    Hi,
    I'm looking for a way to round a number off after a certain number of characters. I'm not looking to round a number off after, say, the third or fourth decimal place, but after the third or fourth number. For example, If I round off after 3 characters, then:
    19235.6578 goes to 19200
    1.95723 goes to 1.96
    How would I go about doing this? Any help is much appreciated.
    Thanks,
    JOD8FY

    Thanks for your reply. What I'm really trying to do is round off an answer to the correct number of significant figures. According to the rules for multiplying significant figures, the answer will have the same number of sig figs as the number in the operation with the least number of sig figs. To do this, what I thought I would do is find the length() of the least precise number in the operation and then round off the answer after that many characters. So, if the least precise number has four sig figs, the answer will get rounded off after the fourth number. Hope this makes what I want to do a little clearer; sorry for being vague.
    JOD8FY

  • Does the computer lock me after a certain amount of failed password attmepts, even when i finally have the correct password? recently changed root account password, but then forgot today and when tried again didn't work.  if so, how long does lock last?

    Ok. So I just changed my ADMINISTRATIVE ROOT PASSWORD the other day and when I tried to log in today I forgot it.  I tried different variations of
    the password I had set, because I wasn't sure if i had maybe set it in Caps Lock or used a different number in the sequence.  I got the message several times
    about "too many attempts, try again later".  Does the computer lock me from signing in even with the correct password after a certain amount of failed
    attempts?  If so, how long does this lock last for?  When can I try again?  Or is there something I need to do to remove that lock now?  I'm pretty sure I
    had the right password finally but it still wouldn't accept it. 
    Also, I don't have any other administrative users set up on my macbook pro.  I'm the only one who uses it, so I've always just used that original User from my
    original setup.

    giselafromclongriffin wrote:
    Ok. So I just changed my ADMINISTRATIVE ROOT PASSWORD the other day and when I tried to log in today I forgot it.  I tried different variations of
    the password I had set, because I wasn't sure if i had maybe set it in Caps Lock or used a different number in the sequence.  I got the message several times
    about "too many attempts, try again later".  Does the computer lock me from signing in even with the correct password after a certain amount of failed
    attempts?  If so, how long does this lock last for?  When can I try again?  Or is there something I need to do to remove that lock now?  I'm pretty sure I
    had the right password finally but it still wouldn't accept it. 
    Also, I don't have any other administrative users set up on my macbook pro.  I'm the only one who uses it, so I've always just used that original User from my
    original setup.
    Do this:
    1. Reboot
    2. Hold apple key + s key down after you hear the chime. (command + s on newer Macs)
    3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    (Type these commands very carefully)
    mount -uw /
    rm /var/db/.AppleSetupDone
    shutdown -h now
    4. After rebooting you should have a brand new admin account. When you login as the new admin you can change the passord on the old one.

  • I cannot receive texts from one contact after updating to the iOS7 system - why?

    I cannot receive texts from one contact after updating to the iOS7 system - why?

    amyhs, thanks for those details. This is certainly quite odd that this has been going on so long and we definitely want to get to the bottom of this. Now, you stated that you have reached out to technical support and spoke with a tier two technical support representative. At this time, what actions or troubleshooting steps were taken? Are you aware if a ticket with our network technicians was ever created? As well, have you ever previously had an iPhone and are you aware if the users that are unable to message you are using iMessage?
    AdamG_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Do notes go away after a certain time?

    Do notes on the iphone4 go away after a certain time?  One of my most important note is gone.

    How old are you? If 1998 is the year you were born, it's entirely possible your parents have subscribed to a 'smart limits' service, which will disable your data connection, text messaging, etc. during hours they choose.

  • Safari wont start after i installed avi player any suggestions?

    safari wont start after i installed a avi player any suggestions?

    You may have installed the "VSearch" trojan. Remove it as follows.
    Malware is always changing to get around the defenses against it. These instructions are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Skype wont reopen after powercut

    skype and couple of other programs wont reopen after power cut..tried to reinstall them...didnt help...any suggestions?

    Select "Go to Folder" from the "Go" menu of the Finder (or type Command-Shift-G).
    In the window copy and paste the following:
         ~/.MacOSX/  and hit return.
    Make note of the date  the file "environment.plist" was created / modified then drag it to the trash.
    Open the Terminal app (found in /Applications/Utilities/)
    Copy and paste the following commands into a Terminal window after the "$ " prompt, followed by the return key:
         rm -rf "~/Library/Application Support/.SuperListv.so"
         rm -rf ~/Library/Logs/vmlog
         rm -rf /Users/Shared/.SuperListv.so
         rm -rf /Users/Shared/.svcdmp
    You will not receive confirmation of deletion, but you may be told that some of the files do not exist as not all have been found by all users.
    Holding down the option key, select "Empty Trash" from the Finder menu, then restart your computer. All the visible signs of the Trojan should be gone at this point.
    Again I want to emphasize that we do not know enough about this Trojan to be confident all the damage has been repaired. You are still advised to make certain you have a solid backup of your data and using the original installation disks, install and upate OS X and all your applications from a trusted source. Then restore your data files from backup. Or use TimeMachine to take you back to the date you were infected.
    And lastly, Intego has discovered that the Trojan attempts to sniff out usernames and passwords that you enter into many popular sites (like banking sites, Google, PayPal, and others), presumably so that the malfeasants behind the software can exploit that information in other nefarious ways, and sends them back via Twitter. You should assume that happened and change the passwords for all such accounts that you have visited since being infected along with any other accounts that use the same password.

  • HT203175 ?itunes wont open after i installed it

    itunes wont open after i installed it?

    hi Be!
    reboot your computer. open your task manager to the processes tab. now try to launch itunes again.
    b if you see an itunes.exe appear there, and persist in your task manager, try
    Lorraine M, "NIS/i-tunes problem rectified" #2, 12:51am Oct 17, 2005 CDT
    ... or, if you
    b don't
    have Norton Internet Security 2005, try:
    http://docs.info.apple.com/article.html?artnum=302386
    b if itunes.exe appears and then disappears:
    ... then there's a good chance that you've got a malware infection on your PC. post back, and we'll work out how to proceed.
    love, b

  • Imovie wont open after mavricks update

    I movie wont open after updating to mavricks. help?

    Many people have been having the same problems this week because of he update. Someone on the forum mentioned uninstalling "Bonjour". +Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network - Wikipedia.+ If you have never needed it uninstall it. You could also try typing "MSCONFIG" in the Run selection under the accessories folder and un-checking it under the "Services" tab.
    I personally have had the same problems. What i did was i un-checked it on the MSCONFIG menu first and then uninstalled Bonjour.
    Hope all this helps

  • App wont open after update???

    My facebook wont open after latest update.. Wassup?

    Hi kryptonmusic,
    Thanks for using Apple Support Communities. Based on what you stated, it sounds like an app you installed will not open. I would recommend that you read this article, it may be able to help the issue.
    If an app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Cheers,
    Mario

  • App wont open after purchase?

    My app wont open after i have purchased it . how should i get it to open i have tried to come back to it later i have deleted it and bought it againand i have resetthe network settings and my ipod in general.

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Then try
    Restore from backup
    Restore to factory settings/new iPod
    BTW, the small font with the bolding makes it very hard to read your post.

Maybe you are looking for