Skip to main content
March 5, 2010
Answered

textLayout open source code undefined property debug in cs4 flash

  • March 5, 2010
  • 1 reply
  • 501 views

Hello to everyone,

I have downloaded svn open source files of "textLayout framework" and set src folder as class path in cs4 flash

When i am trying to publish an example  player gives me this error:

1120: Access of undefined property debug.

CONFIG::debug { assert(normalizeStart <= textLength,"damage bad length"); }

do you have an idea?

Thanks.

This topic has been closed for replies.
Correct answer

The intended workflow is to use a compiled TextLayout.swc in Flash Pro. When we compile the swc we give the compiler some config information to determine whether we're compiling a debug or release swc. I don't know whether that can be done from Flash Pro, so I'd recommend only putting the swc on your path, not the full source.

1 reply

Correct answer
March 5, 2010

The intended workflow is to use a compiled TextLayout.swc in Flash Pro. When we compile the swc we give the compiler some config information to determine whether we're compiling a debug or release swc. I don't know whether that can be done from Flash Pro, so I'd recommend only putting the swc on your path, not the full source.