3 Replies Latest reply on Feb 3, 2011 2:51 PM by Pablo Souza

    Flash Builder Embed FXG - Problem

    KiranMannava

      Hi,

      I am working on creating an asset library using AS 3 project in Flash builder. I want to embed the fxg graphics referencing with a Class,

       

      [Embed(source='Sample.fxg')]
      private var myInstance:Class
      ;

       

      I get the following error :

      no transcoder registered for mimeType 'text/fxg'    Main.as    /Project/src    line 9    Flex Problem

       

      The flex sdk version is  4.1.0.16076 and this doesn't with previous versions either.

      I can create instance of SpriteVisualElement to have fxg embedded, but this requires a flex project and I don't it is the best way to create a library for managing assets.

       

      Unable to create a AS3 project seems to be a quite limitation for traditional flash/flex development.

      Any help would be appreciated.

       

      Thanks,

      Kiran