[ 
https://issues.apache.org/jira/browse/FLEX-33565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664322#comment-13664322
 ] 

OmPrakash Muppirala commented on FLEX-33565:
--------------------------------------------

Agree with Alex.  We should support both FXG and SVG.  

Although I disagree that this is a bug.  The docs [1] clearly say that "You do 
not use the Embed command to reference FXG documents. Instead, you reference an 
FXG document as a component, specifying the tag to be the name of the FXG file."

We need to create and support a new mimetype "image/fxg" or something like that 
if we want to be able to embed an FXG file like an image.  


[1] 
http://www.adobe.com/devnet/flex/quickstarts/embedding_assets.html#UsingFXGDocuments
                
> No transcoder registered for mimeType 'text/fxg' error when embedding FXG
> -------------------------------------------------------------------------
>
>                 Key: FLEX-33565
>                 URL: https://issues.apache.org/jira/browse/FLEX-33565
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.9.0
>            Reporter: Justin Mclean
>         Attachments: circle-1.fxg
>
>
> SVG resources cause warning:
>    - The use of SVG has been deprecated since Flex 4. Please use FXG.
> [Embed(source="circle-1.svg")]
> [Bindable] protected var _step1Icon:Class;
> FXG resources can't be compiled and cause:
>    - no transcoder registered for mimeType 'text/fxg'
>    - Unable to transcode circle-1.fxg.
> [Embed(source="circle-1.fxg")]
> [Bindable] protected var _step1Icon:Class;
> (Reporting for another developer.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to