onScroll event method, and revert the scroll value back to some saved value...

MW


----- Original Message ----- From: "Tom Lee" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" <[email protected]>
Sent: Monday, June 05, 2006 10:27 PM
Subject: RE: [Flashcoders] Prevent Multiline Selectable TextField fromscrolling?


Oddly enough, I am - but it still scrolls. It's almost as though there's an
extra newline or something in there.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Bedar
Sent: Monday, June 05, 2006 4:23 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Prevent Multiline Selectable TextField
fromscrolling?

Only thing I can think of right now is always showing all of the
text, and masking the portion you want to hide...


On Jun 5, 2006, at 4:05 PM, Tom Lee wrote:

This should be a trivial problem, but for some reason I'm not
seeing an
obvious and clean solution (one of those Mondays).  What I want to
do is
prevent a TextField from scrolling when the user selects the text.
Essentially, have the text be selectable but locked in place,
regardless of
the height of the text field.



I've tried:



TextField.onScroller = function(tf){

            tf.scroll = 0;

}



This works ok, but not cleanly.  The text is still allowed to
scroll, it
just jumps back into place when the user releases the mouse.  There
oughtta
be a TextField.scrollable:Boolean.



Ideas?

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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


_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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

Reply via email to