Maybe try a simple test with just a plain TextArea and see how it responds when you modify it with your code.
On 5/31/14 4:30 AM, "agm65" <[email protected]> wrote: >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") ; > test = > test.split("</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-It >emRenderer-shown-after-scrolling-tp6709.html >Sent from the Apache Flex Users mailing list archive at Nabble.com.
