Skip to main content
Participating Frequently
Jul 14, 2010 9:47 PM UTC
Question

Adobe TLF Editor with AIR:buggy.

I am trying to embed the Adobe TLF editor in my AIR application and noticed a bug:When content is scrolled in the editor,images disappear and reappear.I embedded the editor both as a custom component and as a swf (with SWFLoader).The buggy behavior is exhibited only when the main application is WindowedApplication (AIR).Embedding the editor in a WebApplication  (<s:Application>) works OK.What's the deal???

I will appreciate any help.Thanks in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Adobe Employee
Jul 15, 2010 4:35 PM UTC

I'm not sure exactly what you mean by "Adobe TLF Editor". There are several Flex components built on top of TLF, and there is one from Flash Pro. There is also a TLF Editor that we supply for demonstration purposes. Can you tell me which one you are using, what version, and what Player version? Thanks!

- robin

Translate
Participating Frequently
Jul 15, 2010 10:17 PM UTC

UPDATE:

After further investigation I have reached the conclusion that the TextLayoutEditor had nothing to do with these bugs,

rather it was the AIR 2.0.2 runtime in the new  Flex 4.1 SDK which I used.

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.

Again,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.

Translate