Skip to main content
Participating Frequently
September 27, 2011
Answered

VerifyError: Error #1014: Class flashx.textLayout.container::TextContainerManager is not found

  • September 27, 2011
  • 1 reply
  • 8287 views

Hi all,

I'm trying to use TLF 3.0 in my Flex 4.5.1 project. I add the textLayout.swc as a library and remove the textLayout.swc from the SDK in the "Library Path" of Flash Builder.

The link type is "Merged into code".

But when I run my Spark Application, I got the following message :

"VerifyError: Error #1014: La classe flashx.textLayout.container::TextContainerManager est introuvable."

I have no preloader, my project is compiled against Flash 10.2 (required by the Flex SDK 4.5.1).

What am I doing wrong ?

Thank you in advance for your help

This topic has been closed for replies.
Correct answer Jin-Huang

You have two choice:

1. replace  swc in the sdk folder with 3.0 swc.

2. Do as what you said above. But as an addition, you need to modify flex-config.xml to get rid of the TextLayout.swc related configurations.

Choice 1 is simple and recommended.

Please have a look at the discussion in thread http://forums.adobe.com/thread/851475. ( See that thread from bottom to top, because the discussions on the top are about another topic. )

1 reply

Jin-HuangCorrect answer
Adobe Employee
September 28, 2011

You have two choice:

1. replace  swc in the sdk folder with 3.0 swc.

2. Do as what you said above. But as an addition, you need to modify flex-config.xml to get rid of the TextLayout.swc related configurations.

Choice 1 is simple and recommended.

Please have a look at the discussion in thread http://forums.adobe.com/thread/851475. ( See that thread from bottom to top, because the discussions on the top are about another topic. )

KnuX75002Author
Participating Frequently
November 29, 2011

Grrr finally, it doesn't work. I replaced the textLayout.swc in "C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs" with the swc from TLF 3.0. I have the SDK in RSL but for textLayout.swc I choose "Merged into code" and I still have the VerifyError.

It works only if I have Flex 4.5.1 SDK and additionnal lib textLayout.swc as "Merged into code" (and I remove the textLayout.swc from the Flex SDK in the Library Path).  If I put the SDK in RSL mode, the error occurs :/

In fact, I cannot have all the framwork merged into code, my SWF will be too big

KnuX75002Author
Participating Frequently
November 29, 2011

Hm, OK. I force the textLayout.swc to be the first library loaded, in RSL, with the extracted .swf deployed on my server and it seems to be OK. Both TLF 3.0 and Flex 4.5.1 are in RSL