[Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)

gah - not my day today

i've got my textArea loading up a bunch of text from a string, from  
an array loaded from an xml file (erk), but the scrollbars for the  
component don't scroll far enough (either the bar or the arrows) -  
i've dragged down the text with my cursor and the extra lines are there.


does anyone with any experience of using these components know of any  
reason this might happen?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Muzak
try calling invalidate on the component instance after setting/changing the 
text:

UIObject.invalidate()
http://livedocs.macromedia.com/flash/8/main/4199.html

regards,
Muzak

- Original Message - 
From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]
To: flashcoders flashcoders@chattyfig.figleaf.com
Sent: Thursday, May 24, 2007 6:30 PM
Subject: [Flashcoders] textArea doesn't scroll far enough


 gah - not my day today

 i've got my textArea loading up a bunch of text from a string, from  an array 
 loaded from an xml file (erk), but the scrollbars 
 for the  component don't scroll far enough (either the bar or the arrows) -  
 i've dragged down the text with my cursor and the 
 extra lines are there.

 does anyone with any experience of using these components know of any  reason 
 this might happen?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread David Ngo
I've run into this issue before as well. My (hackish) work-around was to
create an empty MovieClip right after the text, set its alpha to 0, set its
height to like, 50 or some arbitrary number to force the scrollbars to
scroll beyond the text. Very hackish and not the best solution, but I had to
get it working right then and there so


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allandt
Bik-Elliott (Receptacle)
Sent: Thursday, May 24, 2007 12:30 PM
To: flashcoders
Subject: [Flashcoders] textArea doesn't scroll far enough

gah - not my day today

i've got my textArea loading up a bunch of text from a string, from  
an array loaded from an xml file (erk), but the scrollbars for the  
component don't scroll far enough (either the bar or the arrows) -  
i've dragged down the text with my cursor and the extra lines are there.

does anyone with any experience of using these components know of any  
reason this might happen?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Allandt Bik-Elliott (Receptacle)
yeh i've had to do something a bit hackish - a bunch of br / tags  
at the end of my script


it's not pretty but it is working

i tried that .invalidate() method but it didn't seem to do anything

thanks for the input, guys



On 24 May 2007, at 18:44, David Ngo wrote:

I've run into this issue before as well. My (hackish) work-around  
was to
create an empty MovieClip right after the text, set its alpha to 0,  
set its

height to like, 50 or some arbitrary number to force the scrollbars to
scroll beyond the text. Very hackish and not the best solution, but  
I had to

get it working right then and there so


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Allandt

Bik-Elliott (Receptacle)
Sent: Thursday, May 24, 2007 12:30 PM
To: flashcoders
Subject: [Flashcoders] textArea doesn't scroll far enough

gah - not my day today

i've got my textArea loading up a bunch of text from a string, from
an array loaded from an xml file (erk), but the scrollbars for the
component don't scroll far enough (either the bar or the arrows) -
i've dragged down the text with my cursor and the extra lines are  
there.


does anyone with any experience of using these components know of any
reason this might happen?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Marc Hoffman

I've just added a couple of line breaks to the xml text:

myTextField.htmlText = theXmlText + BRBRBR;

Hackish, but easy to implement.

At 10:44 AM 5/24/2007, you wrote:

I've run into this issue before as well. My (hackish) work-around was to
create an empty MovieClip right after the text, set its alpha to 0, set its
height to like, 50 or some arbitrary number to force the scrollbars to
scroll beyond the text. Very hackish and not the best solution, but I had to
get it working right then and there so


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allandt
Bik-Elliott (Receptacle)
Sent: Thursday, May 24, 2007 12:30 PM
To: flashcoders
Subject: [Flashcoders] textArea doesn't scroll far enough

gah - not my day today

i've got my textArea loading up a bunch of text from a string, from
an array loaded from an xml file (erk), but the scrollbars for the
component don't scroll far enough (either the bar or the arrows) -
i've dragged down the text with my cursor and the extra lines are there.

does anyone with any experience of using these components know of any
reason this might happen?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread nelson ramirez

my solution?
I don't use the crappy v2 components.
Adobe V2 components = the devil.

Believe me when i say it will be time well spent to create or find your own
solution.



On 5/24/07, Marc Hoffman [EMAIL PROTECTED] wrote:


I've just added a couple of line breaks to the xml text:

myTextField.htmlText = theXmlText + BRBRBR;

Hackish, but easy to implement.

At 10:44 AM 5/24/2007, you wrote:
I've run into this issue before as well. My (hackish) work-around was to
create an empty MovieClip right after the text, set its alpha to 0, set
its
height to like, 50 or some arbitrary number to force the scrollbars to
scroll beyond the text. Very hackish and not the best solution, but I had
to
get it working right then and there so


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Allandt
Bik-Elliott (Receptacle)
Sent: Thursday, May 24, 2007 12:30 PM
To: flashcoders
Subject: [Flashcoders] textArea doesn't scroll far enough

gah - not my day today

i've got my textArea loading up a bunch of text from a string, from
an array loaded from an xml file (erk), but the scrollbars for the
component don't scroll far enough (either the bar or the arrows) -
i've dragged down the text with my cursor and the extra lines are there.

does anyone with any experience of using these components know of any
reason this might happen?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com