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:

	<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:

	<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>

 

About Judah

Please note in the comments if this has helped you or not.
This entry was posted in Runtime. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Highlight your code before posting code:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">