Attempt at fixing FLEX-34988
Need to confirm that \uFDEF is the correct way to represent an inline graphic.
diff --git a/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as b/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
index fcf39cb..5454867 100644
--- a/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
+++ b/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as
@@ -378,7 +378,14 @@
CONFIG::debug { assert(_graphicStatus is ErrorEvent,"unexpected _graphicStatus"); }
return InlineGraphicElementStatus.ERROR;
}
-
+
+ /** @private
+ */
+ public override function getText(relativeStart:int=0, relativeEnd:int=-1, paragraphSeparator:String="\n"):String
+ {
+ return String.fromCharCode(0xFDEF);
+ }
+
private function changeGraphicStatus(stat:Object):void
{
var oldStatus:String = status;