Skip to main content
Participant
January 22, 2009
Answered

Unsupported props in the current Gumbo builds?

  • January 22, 2009
  • 1 reply
  • 537 views
Hi,

the following properties seem to be supported no more in Build 4.0.0.4612:
- ImportExportConfiguration.defaultConfiguration
- configurationInstance.linkInitialLinkFormat
- flashx.textLayout.elements:TextFlowLine: property textLine
Ist this intended behaviour? Any workaround for this?

Thx
David
This topic has been closed for replies.
Correct answer robin_briggs
We have made some API changes since the Labs release was posted. In particular, the ImportExportConfiguration was replaced, and places that used to use it now use the IConfiguration, which also has a default in the TextFlow class.

The initialLinkFormat was renamed to linkNormalFormatDefault.

TextFlowLine.textLine was renamed to getTextLine() (it's now a function that returns a value instead of a property). We are now caching the textLines, so if they are not actually parented into the container, we may be releasing them (see TextBlock.releaseLines) so that they can be gc'ed if necessary. This means that when you get a TextLine, if it was not parented into a container (for instance, it is scrolled out of view) it may have been released. It will still be a valid DisplayObject, but you can no longer get information about the atoms in the line. To insure that you get a fully valid line, call getTextLine(true), which will regenerate the line if necessary.

1 reply

robin_briggsCorrect answer
Adobe Employee
January 22, 2009
We have made some API changes since the Labs release was posted. In particular, the ImportExportConfiguration was replaced, and places that used to use it now use the IConfiguration, which also has a default in the TextFlow class.

The initialLinkFormat was renamed to linkNormalFormatDefault.

TextFlowLine.textLine was renamed to getTextLine() (it's now a function that returns a value instead of a property). We are now caching the textLines, so if they are not actually parented into the container, we may be releasing them (see TextBlock.releaseLines) so that they can be gc'ed if necessary. This means that when you get a TextLine, if it was not parented into a container (for instance, it is scrolled out of view) it may have been released. It will still be a valid DisplayObject, but you can no longer get information about the atoms in the line. To insure that you get a fully valid line, call getTextLine(true), which will regenerate the line if necessary.
Participant
January 26, 2009
Thanks Robin!
david