Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): Mac
Language Found: English
Description
Steps to reproduce:
1. Create an image with non-ascii characters in its name (eg "長方形.png")
2. Create an application with both an mx:Image and an s:BitmapImage with sources set to the image file's path (eg: "assets/images/長方形.png")
3. Compile and run the application
This is my source:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fc="http://ns.adobe.com/flashcatalyst/2009"
width="100%" height="100%" fc:previewWidth="955" fc:previewHeight="600"
backgroundColor="#FFFFFF" preloaderChromeColor="#FFFFFF" xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:Image source="assets/images/長方形.png"/>
<s:BitmapImage x="100" source="assets/images/長方形.png"/>
</s:Application>
Actual Results:
mx:Image loads correctly, s:BitmapImage does not
Expected Results:
both load correctly
Workaround (if any):
change the filename to be ascii-only
This issue was patched previously for mx:Image in SDK-24648. It would be good to patch it for BitmapImage as well.