Hi Gordon,
OK, I've found a few more serious problems with scrolling and filed a 
bug. There are two larger problems

1. scrolling to the bottom doesn't work when it's done in a for loop
2. after scrolling down, when you use the scrollbar to scroll up all the 
text above the last line is automatically selected even though the user 
didn't select it.
Just in case the app sample didn't come through in the bug report here 
it is:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"; xmlns="*" 
layout="vertical" childrenCreated="showProblem()">
    <mx:TextArea width="200" height="120" id="traceArea"/>
    <mx:Button label="Add another Line" click="addLine();"/>
    <mx:Script>
        <![CDATA[
            private function writeln(msg:String){
                traceArea.text += msg + "\n";
                traceArea.validateNow();
                traceArea.vPosition = traceArea.maxVPosition;
            }
            private function showProblem(){
                for (var i:Number = 0; i < 20; i++){
                    writeln(i + ": " + "test line");
                }
            }
            private function addLine(){
                writeln("another line...");
            }
        ]]>
    </mx:Script>
</mx:Application>

Yours truly,
-Brian

Gordon Smith wrote:

>Please file a bug on the minor problem you're seeing. This will be a
>common thing to want to do.
>
>- Gordon
>
>  
>


-- 
______________________________________________________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario                   Phone: (416) 979-5000 ext. 6835
M5B 2K3                            Fax: (416) 979-5220
Office: AB48D                      E-mail: [EMAIL PROTECTED]
(Enter through LB66)               Web: http://www.ryerson.ca/~blesser
______________________________________________________________________



--
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/
 


Reply via email to