Skip to main content
kahsbnxasxwasx
Known Participant
January 22, 2012
Answered

HI,MASTER,Why FLEX s: textArea and s: RichEditableText default a P element, but can not afford t

  • January 22, 2012
  • 1 reply
  • 867 views

Why FLEX s: textArea and s: RichEditableText default a P element, but can not afford to remove。

in

if(textArea.textFlow.mxmlChildren.length==1)

   {

    textArea.textFlow.removeChildAt(0);

   }*/

BUT When another visit to this element of TEXTFLOW, that P had been born

This topic has been closed for replies.
Correct answer mjzhang

Hi, That is by design, we automatic create a P child for empty textflow.

1 reply

mjzhangCorrect answer
Participating Frequently
January 29, 2012

Hi, That is by design, we automatic create a P child for empty textflow.