Hello, We upgraded from Adobe Flex 4.5.1 to Apache Flex 4.12.1 and noticed a problematic issue.
We have a custom component based on RichEditableText that populates the textFlow property with TextConverter.importToFlow(value, TextConverter.TEXT_FIELD_HTML_FORMAT); It renders HTML pretty well, considering the limitations, but since the upgrade we often encounter the following exception being thrown when using the img tag - SecurityError: Error #2122: Security sandbox violation: Loader.content: http://mydomain.com/Client/myapplication.swf cannot access http://differentdomain.com/image.png. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded. at flash.display::Loader/get content() at flashx.textLayout.elements::InlineGraphicElement/loadCompleteHandler()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/elements/InlineGraphicElement.as:703] The image actually loads successfully in-spite of the error, but it doesn't being measured correctly, so the image can exceed the component's boundaries and overlap the text after it. I tried investigating this and found that in TLF 2.0 a similar issue was handled in build 203, where it say "Fix 2758185 Unhandled securityerror in InlineGraphicElement Loader.load call". This can be found in the following document - https://svn.apache.org/repos/asf/flex/tlf/branches/3.0/ReleaseNotes.txt In addition, I saw that in Apache Flex 4.9 TLF was upgraded to version 3.0.33, where the issue occur. I implemented a workaround where I capture all these elements, wait for their loadComplete event and set their size there, but it doesn't seem like the ideal solution. Any suggestions? Thanks in advance, Evyatar
