Skip to main content
Known Participant
Jan 14, 2011 8:22 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Adobe Employee
Jan 15, 2011 12:59 AM UTC

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

Translate
FTQuestAuthor
Known Participant
Jan 15, 2011 2:29 AM UTC

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

Translate
Adobe Employee
Jan 17, 2011 8:55 PM UTC

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

Translate