Skip to main content
Participating Frequently
July 16, 2010
Question

TLF Buggy in AIR if compiled with 2.0.2 Runtime.(1.5.3 is OK)

  • July 16, 2010
  • 1 reply
  • 638 views

BUG DESCRIPTION:

I have a TextArea in my <WindowedApplication/> that reads a <TextFlow> object from an XML string : contentTA.textDisplay.textFlow=TextFlowUtil.importFromString(xmlString);

An image element,and some formatted text (underline,background colored text) just disappear an reappear as I scroll up and down in the TextArea.

The same setup described above works OK  as expected in the context of a Web Application.

I compiled with the new Flex 4.1 SDK  which has a 2.0.2 AIR runtime:this is the cause of the bugs.

I compiled my AIR application with Flex 4.0 SDK (AIR 1.5.3 runtime) and the problems went away.

Problem is not solved,though.I cannot export a release build and expect it to install with AIR 2.0.2 installed in my computer.

Thank you so much for your interest.

This topic has been closed for replies.

1 reply

July 19, 2010

Thanks for the report. I can reproduce a problem of graphics disappearing on scrolling in both AIR 1.5.3 and 2.0. I've logged an AIR bug to track down the problem.

Participating Frequently
July 19, 2010

After further investigation,it seems that AIR has nothing to do with it,I compiled my AIR application with Flex SDK 4.1,but used the  textLayout.swc  from Flex SDK 4.0 ,and the bugs did'nt show up...

July 19, 2010

Ah, you are correct. I thought I'd checked both Flex 4.1 and 4.0, but it happened that the 4.0 SDK I was using had TLF 1.1 installed. So this appears to be a problem with TLF 1.1.