Dynamically resizing TextArea ?!?!?! I cant see what I am typing

Advertisement

http://cookbooks.adobe.com/post_Creating_a_dynamically_resizing_TextAr ea_without_s-13628.html
used code in above link, additionally I added code for width similar to height,
the else part in below
override public function set width(value:Number):void
    if(condition)
    else
                  textField.validateNow();
                    if (textField.textWidth+7<= this.maxWidth)
                        super.width=textField.textWidth+7;
                    else
                        this.wordWrap =true;
                        super.width = super.maxWidth;
also I set wordWrap=false in adjustHeightHandler and constructor. when I continue typing it reaches maxWidth then maxHeight after that i cant see what I am typing.
live scrolling reaches maximum height, but I could see by press down arrow

Advertisement

Hope the following code will help u,
public function CustomTextArea()
            super();
            this.addEventListener(KeyboardEvent.KEY_DOWN,onKeyDown);
                    private function onKeyDown(keyEvt:KeyboardEvent):void{
                              updateDisplayList(unscaledWidth,unscaledHeight);
        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
            super.updateDisplayList(unscaledWidth, unscaledHeight);
            this.height = this.textField.textHeight+10;
            this.textField.scrollV = 0

November 30, -0001

Dynamically resizing TextArea ?!?!?! I cant see what I am typing

http://cookbooks.adobe.com/post_Creating_a_dynamically_resizing_TextAr ea_without_s-13628.html used code in above link, additionally I added code for width similar to height, the else part in below override public function set width(value:Number):voi

I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone)

I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone) how can i cancell the Imessage option ? =\ help me please thank youCall AppleCare and tell them you want to cancel iMessage.Read other 2 answers

TS3274 This week the keypad "jumped" to the top of the screean't see what I'm typing! How do I get it back down to where it used to be?

This week the keypad "jumped" to the top of the screen so that I often can't see what I'm typing! Not sure why it happened and want to know how to get the keypad back down to where it used to be! Can anyone help? Cheers FreddyIf the keyboard is

My search bar in google now turns blue and I can not see what I am typing. Why? I read somewhere it's a problem with Firefox. Is there a fix for this?

I'm not sure exactly when it happened, but one day my Google search bar turned blue when I tried typing in it. I couldn't see what I was typing. I did some research and some forums said it was a problem with Firefox. Have you heard of this? Is there

Google search is grayed out and I cannot see what I am typing

FF 6.0.2, Google search bar is grayed out and I cannot see what I am typing. The Search bar works but It is annoying. Please help and Thanks in advance Mike Sousa [email protected]Site url field has a grey text as "www.yoursite.com" , the OK but

I really cant see whats going wrong?

Hi there, been working on this site and really really cant figure out what ive done wrong. of you check out http://treesbeastsandhairythings.com/test there appears to be a big gap inbetween the images and i just cant see why or how its happened? ive

When i watch youtube videos my screen goes blury and i cant see what they are doing. Any solutions?

Does any one know a suloution?Sounds a bit like a hardware problem, faulty RAM in particular. Run the Hardware Test (see http://docs.info.apple.com/article.html?artnum=303605) which is either on a separate CD/DVD or on the install disk 1: - Make sure

When I compose an email, I can't see what I'm typing near the right margin. Other browsers have an arrow to click to widen the view. youdon't.

When I compose an email, the composition window is not wide enough, so as I get near the right margin my cursor suddenly disappears behind the right edge of the window for like 10 characters or so and then it reappears on the Left Margin and I can se

I cannot see what I am typing in the address bar. Why?

The details are in the question really.Do you have that problem when running in the Firefox SafeMode? <br /> [http://support.mozilla.com/en-US/kb/Safe+Mode] <br /> ''Don't select anything right now, just use "Continue in SafeMode."''

I had a big problem i scrape the gift card hard and i cant see the code what should i do??, i had a big problem i scrape the gift card hard and i cant see the code what should i do??

i have a problem i scrape the gift card hard and i cant see the code what should i do??iTunes Store: Invalid, inactive, or illegible codesRead other 3 answers

My ipod number is on the back but i cant see it because it faded away soo what do i do

my ipod number is on the back but i cant see it because it faded away soo what do i doOn your iPod, go to Settings/General/About and scroll down until you see something labelled Serial Number.Read other 2 answers

HT1595 Ive just updated my Apple TV software to V 5.0(4099) and now i cant see you tube etc on my home screen, i can only see settings and computers, what gives? thanks

Ive just updated my Apple TV software to V 5.0(4099) and now i cant see you tube etc on my home screen, i can only see settings and computers, what gives? thanksI just had this issue. Go into settings and reset the Apple TV after the firmware update.

When i was scrolling through my camera role today before i updated and like 100   pictures turned into a picture thats white then says PNG. Cant see the picture. What should i do?

when i was scrolling through my camera role today before i updated and like 100 + pictures turned into a picture thats white then says PNG. Cant see the picture. What should i do?I seem to have fixed it by putting <div  class="clearfloat">

Problems with dynamic resize of JTextPane...

Dear Java Gurus, I am quite new to Java, so I am strill struggling to understand the details about it all...but thanks to a lot of very helpful people in this forum, the bits and pieces start to come together, even though it's obvious that I now need

TS1363 Just installed the new ITunes (running Windows 7) and now it cant see my IPhone

Just installed the new ITunes (running Windows 7) and now it cant see my IPhone (which it saw fine just a few minutes ago). So I can't do a backup etc. What's wrong and how do I put it right?Well, without my doing anything, the situation has now righ

HT4859 I HAVE AN ONLINE i CLOUD ACCOUNT. WHEN I SIGN IN TO IT ON MY PC I SEE NO PHOTS OR MUSIC STORED THERE. i CAN SEE NOTES ADDED THERE. i AM TOLD i HAVE LOTS ODF DATA STORED AND IT WOULD BE WISE TO INCREASE THE STORAGE CAPACITY BUT CANT SEE VIRTUALLY AN

i HAVE AN ONLINE i CLOUD ACCOUNT. WHEN i SIGN IN TO IT ON MY PC i CAN SEE CHANGES I MAKE UNDER NOTES BUT THERE IS NO SIGN OF ANY OF THE  PHOTOS OR MUSIC THERE WHICH ARE IN MY I PAD. i HAVE PAID TO ENLARGE THE DATA CAPACITY SAVED THERE ONE STEP ABOVE

Jar file could not find main class.. I cant see why?

I have read loads of tutorials on this and it should be very straight forward but i STILL cant make a working jar file of my program.. please see if you can see anything wrong with what im doing.. my program is one .java file that compiles perfectly,

Cant see flash on metacafe

Hi, I cant see any video on metacafe in ie8 with the latest flash player installed. I can watch video on youtube and dont seem to have the problem with other sites,just metacafe. I tried uninstalling using the uninstaller, reinstalling,done it in saf

Cant see external Hard Drive connected to TC

Hey Guys Love my TC but still cant get it to work as I want. I will list my challenges seperatley. The first one is I have a hard drive connected by USB but I cant see it in Finder? I can see everything on my TC but not the connected HD. Thanks in Ad

In smartform editor cant see the option for making bold or italic

hi EVERYONE, I Want to make a heading as BOLD but on my editor i cant see the option to make it as a bold i have given the SMART STYLE....i can see all the styles in my style but when i come to TEXT and write a heading...when u want to make it as a b