For the first problem, how about adding a number of blank lines to the end
of the news story so the total number of lines is a multiple of the
TextArea's visible page size to allow a full scroll?

-Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miles
Thompson
Sent: Tuesday, November 15, 2005 9:56 AM
To: Flashcoders mailing list
Subject: [Flashcoders] TextArea - Impossible requests?

Dear All,

I'm working on a "daily news" site - headlines display on left, and when 
one clicks on a given headline the story loads on the right. I'm using the 
UI TextArea component to display the story.

All is well, but as usual, customer has tossed a couple of curves.

1. When there is only a fragment of the story left to display, say 15 
additional lines for example, and the reader scrolls down, the TextArea 
scrolls only 15 lines. What the customer wants is a full scroll so that the 
next line appears at the top of the story, with white space below.

2. At customer's request NextPage and PrevPage buttons were added to the 
movie to scroll the TextArea; they've been programmed to turn on and off, 
etc. in response to .scroll, .maxscroll and .vPosition information provided 
by the TextArea. Now the customer does not want the ScrollBar to show at 
all, but to use these buttons only.

Relating to 1. - Can one force a full scroll, say 28 lines, when there are 
only 15 lines remaining? I've tried resetting .maxscool, forcing .vPosition 
to an unrealistic values, incrementing .scroll in a loop. Nope, Have not 
been able to do it. Has anyone, or do I revert to the MX control?

Relating to 2. Is there a property to set somewhere which will permanently 
hide the scroll bar? I've not been able to find one, but possibly someone 
knows a hidden or undocumented property. (Cripes, this is a ridiculous 
question! Let's roll everything back to Flash 3!)

Sorry to be asking these questions. When we moved to MX 2004 thought I had 
the solution to my text problems by the tail. Now it's turning and biting.

Regards - Miles Thompson


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to