Skip navigation
Currently Being Moderated

TLF 3.0 - build error in Flex Builder 3

Jul 23, 2012 12:41 PM

Hi all,


I was being asked to duplicate this question from Text Layout Framework forum to this forum:


I am using TLF 3.0 with Flex Builder 3 and Flex 3.6 SDK.

I am able to do the ant build just fine but since I need to debug the code, I need to do it through the normal Flex project build option.

There is an issue when I did that though.

There's this error message listed at the "Problems" console: "The public attribute can only be used inside a package."

The error message is pointing to and where both of these files are not under package. These files are located at textlayout.formats.


I don't know how to resolve this error other than excluding those two files from the build.

What should I put on Flex compiler argument to resolve this issue?





  • Currently Being Moderated
    Jul 23, 2012 5:14 PM   in reply to mrHanditan

    I’m not sure you are setting it up correctly.  I think you just have to add TextLayout.swc to the Libraries in project properties, then in run/debug add a source folder that points to the TLF sources.

    Mark as:
  • Currently Being Moderated
    Jul 26, 2012 8:58 AM   in reply to mrHanditan

    You should not need to build the swc yourself.

    Mark as:
  • Currently Being Moderated
    Aug 2, 2012 10:30 PM   in reply to mrHanditan

    I think you want to make sure the * files are not listed as classes to be included in the SWC.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points