Skip to main content
Participant
April 17, 2012
Question

checkTLFFontsLoaded taking large amount of time every frame

  • April 17, 2012
  • 1 reply
  • 3624 views

After trying to figure out why converting all our text fields to TLF is hammering performance for ages, I've finally discovered the culprit function that is taking so long on every single frame:

RuntimeManager$.checkTLFFontsLoaded (fl.text)

This function often spends more than 10 ms running each frame, and is by far the longest running function in our application's action script every single frame.

Can anyone give me a rough idea of what calls this function so I know what to start looking for in my code?

This topic has been closed for replies.

1 reply

Adobe Employee
April 17, 2012

fl.text.RuntimeManager is not a class of TLF but Flash Pro. Here we mainly focus on TLF, which includes classes in textLayout.swc. So you may want to duplicate your question to http://forums.adobe.com/community/flash. Thanks!

disband85Author
Participant
April 17, 2012

Thanks Jin, I have posted on Flash Pro forums.