Skip to main content
Participant
June 27, 2011
Question

TLF code freezing up application

  • June 27, 2011
  • 1 reply
  • 465 views

Since upgrading to the final release SDK for Hero, we have seen our application freezing up intermittently. As the stack trace suggests, it is related to clicking on points on a line chart.

Has anybody seen something like this before?

Flex SDK 4.5.20967

Flash Player 10.3.181.14/26

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

at flashx.textLayout.container::TextContainerManager/http://ns.adobe.com/textLayout/internal/2008::factoryUpdateContainerChildren()

at flashx.textLayout.container::TextContainerManager/updateContainer()

at HTMLHelper/composeHTMLText()

at mx.core::FTETextField/validateNow()

at mx.core::FTETextField/get textWidth()

at mx.charts.chartClasses::DataTip/measure()

at mx.core::UIComponent/measureSizes()

at mx.core::UIComponent/validateSize()

at mx.charts.chartClasses::ChartBase/positionDataTips()

at mx.charts.chartClasses::ChartBase/updateDataTipToMatchHitSet()

at mx.charts.chartClasses::ChartBase/processRollEvents()

at mx.charts.chartClasses::ChartBase/mouseDownHandler()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at mx.managers::SystemManager/mouseEventHandler()

This topic has been closed for replies.

1 reply

Adobe Employee
June 28, 2011

I suggest you also post the question to Flex Forum.

mx.core.FTETextField is not a class in TLF and It's not recommended that you take it as the container for TLF. s:TextArea, s:RichText, and s:RichEditableText are all good containers for TLF in Flex.

panghyAuthor
Participant
June 28, 2011

Hm, for mx charts to use FTE, they must use the UIFTETextField as the textFieldClass unless we embed the font twice. I'll ask the flex forums to see if they have any ideas as to why the class is breaking.