Skip to main content
Known Participant
March 24, 2010
Answered

Remove everything from a TextFlow

  • March 24, 2010
  • 1 reply
  • 504 views

What's the fastest way to completely remove all the Flow elements from my TextFlow object? I don't want to kill the TextFlow and I need to keep the containers and composer. It's just the text I want to bin.

This topic has been closed for replies.
Correct answer rdermer

textFlow.replaceChildren(0,textFlow.numChildren);

1 reply

rdermerCorrect answer
Adobe Employee
March 24, 2010

textFlow.replaceChildren(0,textFlow.numChildren);