ArgumentError: newElement not of a type that this can be parent of
ArgumentError: newElement not of a type that this can be parent of
Reason
Incorrect Code:
XML:
-
<s:RichEditableText x="11" y="35" text="Just text
" width="352">
-
<s:TextFlow color="0x555555">
-
<s:p>
-
<s:span fontWeight="bold">Just text</s:span>
-
<s:br />
-
<s:a href="http://twitter.com/">Click here</s:a>
-
<s:p>
-
<s:img source="images/node_loader1.swf"></s:img>
-
</s:p>
-
</s:p>
-
</s:TextFlow>
-
-
</s:RichEditableText>
Please post your comments to help future visitors.
No comments yet. Be the first.
Leave a reply
Wrap MXML and ActionScript in [xml] [/xml] and [as] [/as] tags respectively