Skip to main content
January 20, 2011
Question

How to build textLayout.swc for use in flex hero?

  • January 20, 2011
  • 1 reply
  • 1754 views

I've got a flex hero project that needs some of the features of TLF2.0, but I also need a couple minor bugs fixed.  I had planned to make the changes I needed, compile a new textLayout.swc and use it in my project instead of the version included in flex hero, but when I remove the textLayout.swc from the sdk bundle, and add my own version to the project, I start getting runtime errors (VerifyError: Error #1014: Class flashx.textLayout.container::TextContainerManager could not be found).

I'm using FB Burrito, and the project I'm using to compile textLayout.swc is the one from the sourceforge svn.  What am I missing?

Thanks,

Matt

This topic has been closed for replies.

1 reply

Known Participant
January 20, 2011

You may want to check the 'flex-config.xml', which specifies particular version/build of the 'textLayout.swc'.

FTQuest

January 20, 2011

FTQuest wrote:

You may want to check the 'flex-config.xml', which specifies particular version/build of the 'textLayout.swc'.

FTQuest

I'm not trying to replace the textLayout.swc for the entire sdk, only to use my version in my project (by placing it in the libs folder).  I just discovered that if I change the build path preference to merge everything into code, it works.  Is there no way to use RSLs for the parts of the framework that I'm not modifying and merge only the textLayout.swc that I've created?

Thanks,

Matt

Known Participant
January 20, 2011

FWIW,

I am using the 'Hero' and have replaced the 'textLayout.swc' with the latest TLF build - 228 with corresponding changes if the 'flex-config.xml'.

So far it seems working fine; albeit, by no means it's a suggestion; just sharing bits of personal experience.

FTQuest