0

I need to know when the text of the TextFlow has been displayed.

the code runs inside a MovieClip and I have tried the follow events:

textFlow.addEventListener(FlowOperationEvent.FLOW_OPERATION_END, handleEnd); (never happens) textFlow.addEventListener(UpdateCompleteEvent.COMPOSITION_COMPLETE, handleDone); (when it happen, the text is not displayed)

Its looks like the text is only rendered on the "next" frame, but I can't find an event that notify that the text is been displayed.

I near out of ideas, so if any one have some suggestion please share them :D

Best regards

NFRiaCowboy
  • 153
  • 1
  • 9

1 Answers1

0

It looks like you mixed up the event. Have you tried.

textFlow.addEventListener(FlowOperationEvent.FLOW_OPERATION_COMPLETE, onFlowComplete);
The_asMan
  • 6,364
  • 4
  • 23
  • 34