ReferenceError: Error #1069: Property leadingModel not found on String and there is no default value.
ReferenceError: Error #1069: Property leadingModel not found on String and there is no default value.
at flashx.textLayout.elements::LinkElement/computeLinkFormat()[C:\Vellum\branches\v1\1.0\dev\output\openSource\textLayout\src\flashx\textLayout\elements\LinkElement.as:437]
Incorrect Code:
XML:
-
<s:RichEditableText x="92" y="22" color="#2b4381" editable="false" fontFamily="Myriad Pro" fontSize="17" whiteSpaceCollapse="preserve">
-
<s:textFlow>
-
<s:TextFlow>
-
<s:linkActiveFormat>
-
</s:linkActiveFormat>
-
<s:p>
-
<s:a href="http://google.com"><s:span color="#f77d0e" textDecoration="none">link</s:span></s:a>
-
</s:p>
-
</s:TextFlow>
-
</s:textFlow>
-
</s:RichEditableText>
Correct:
XML:
-
<s:RichEditableText x="92" y="22" color="#2b4381" editable="false" fontFamily="Myriad Pro" fontSize="17" whiteSpaceCollapse="preserve">
-
<s:textFlow>
-
<s:TextFlow>
-
<s:p>
-
<s:a href="http://google.com"><s:span color="#f77d0e" textDecoration="none">link</s:span></s:a>
-
</s:p>
-
</s:TextFlow>
-
</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