Hello,

its me again...

I decited to use the simple html tags (flex provides) to display my html
text in textarea but here come the next problem, thats my itemrendere code:

        override public function set data(value:Object):void
                        {
                                super.data = value;
                                                        
                                
                                if (super.data != null)
                                {                                       
                                                                                
        
                                          
StyleableTextField(this.txtMessage.textDisplay).htmlText =
data.message;
                                
                                }
                        }


and this is (just for testing) how i format my content etc.

var test:String= data.message;
                                          test = test.split("<br />").join("") ;
                                          test = test.split(" <a href&quot;) ;
                                          test = 
test.split(&quot;&lt;/a>").join(" ") ;


now the problem is:
that the color first applies after i start to scroll down? when i scroll up
it sets the links in the right color.
i parse the html bevor i set the data provider. any ideas?









--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/HTML-text-in-textarea-in-ItemRenderer-shown-after-scrolling-tp6709.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to