Skip to main content
August 6, 2009
Question

Bad Sample Files or I'm intoxicated

  • August 6, 2009
  • 1 reply
  • 786 views

I believe you guys may have some miss information in your sample files or the beer I have consumed this evening has comprised my comprehensionfaculties.

I'm trying to test out the TLF sample files in Flex 3.2 and 3.3 however I am getting compiler errors. I may be missing a .swc that the instructions didn't mention or you may have some outdated references in your sample code.

The sample files I downloaded and readme are here:

http://opensource.adobe.com/wiki/display/tlf/Text+Layout+Framework

The readme suggest that the samples are compatible with Flex 3.2 and indeed give instructions for how to get it working. However, after following the instructions (and figuring out a few of the ambiguous steps) I was able to get almost everything working except a few small things like compiling and actually running the sample. 😃

When I try to compile I am getting the following errors from the SimpleEditor example (the only project I am using):

Unable to find:flashx.textLayout.conversion.TextConverter

(is this file in another .swc the instructions missed or perhaps it is Flex 4 class and therefore not compatible with Flex 3.2-3?):

Undefined method:_textFlow.interactionManager.selectRange

(has this been changed to setSelection I wonder?):

Undefined event: StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE

(could be a typo in your sample code *INLINE_GRAPHIC_STATUS_CHANGED* <--- NOTE: The added “D”

Any help and guidance would be much obliged.

PS. you have some hardcoded paths in your sample files that make running the samples a tad vexing.

-erik

This topic has been closed for replies.

1 reply

Known Participant
August 6, 2009

I have tried downloading the samples and I am able to run them without any issues, may be you have an older version of tlf swc. To get the latest swc and the sdk you can download the source of sdk and swc from svn. Visit the following URL to get the instructions on how to get the source, http://opensource.adobe.com/wiki/display/flexsdk/Get+Source+Code.

Hope this helps.

Thank You

--

Chetan Sachdev

http://www.riageeks.com

August 6, 2009

if you are not starting from scratch, as I did, and following those directions then that will scew your results. I will try grabbing the ifles from SVN, something I really don't want to do. But if that does in fact work then then my original post is valid in that the sample files given do not work as stated without having to do a bunch of extra steps.

are you running flex 3.2?

have you tried clearing out your linked librarys / swcs and only grabbing what those directions tell you to grab from where they tell you to grab them from?

-erik