Skip to main content
Known Participant
January 14, 2011
Question

SWF with TLF compiled in Flash CS5 can't be imported into Flex 4.5

  • January 14, 2011
  • 1 reply
  • 957 views

Hello there,

Trying out Flex 4.5 preview I've run into a problem:

In my Flex project I dynamically load various SWF files compiled in Flash CS5. These SWFs use TLF.

With Flex 4.1 everything worked as expected, but in Flex 4.5 I get RTE(s).

Just to be clear: if the SWF uses old classic text Flex 4.5 displays it normally, but once you try TLF - nothing but RTE.

Anybody has experienced that?

I'll also post this on the Flex forum.

Thanks,

FTQuest

This topic has been closed for replies.

1 reply

Adobe Employee
January 15, 2011

You can only have one version of TLF in your SWF, and you have two. Flash CS 5 is using TLF 1.0, and Flex Hero is using TLF 2.0. The only way I know of to work around this, besides picking two targets that use the same version of TLF, is to break the two uses of TLF into two different SWFs, and load the one SWF from the other. That way each version of TLF will have its own context to load and run in.

- robin

FTQuestAuthor
Known Participant
January 15, 2011

Thank you for the clarification Robin.

Two questions:

1. I downloaded the TLF 2.0 swc and tried to use it by pointing to it in the library pass in Flash CS5 preferences. That didn't work.

Do you think it's not feasible to upgrade in this way?

2. The release of Hero is presumed to be sometime in the spring. Do you believe by that time TLF 2.0 would make it into Flash CS5? I know, I know, but just your educated guess

Thanks,

Igor

Adobe Employee
January 17, 2011

You can't use TLF 2.0 with Flash CS5, unfortunately. That is not supported.

I'm afraid I can't comment on unreleased products, so I can't answer your other question. No educated guesses .

- robin