[flexcoders] Use TextArea as application console - How to automatically scroll to bottom?

2006-02-19 Thread codability
I am using a TextArea to display a console like console :-) inside a
Flex app. I am adding text via

textArea.text = textArea.text + currentMessage;

I want the textArea to scroll down and always show the latest added
message. Any hints?








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Is EventType gone?

2006-02-17 Thread codability
The latest beta of Flex 2.0 seems to no longer know EventType.CLOSE
(and others). This line

addEventListener(EventType.CLOSE, onClose);

create an

Access of undefined property 'EventType'

error even though import flash.events.*; has been included into the
class package.

Any idea?







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/