Professional Web Applications Themes

Error: unable to resolve '/images/title.png' fortranscoding - Macromedia Flex General Discussion

Error: Error: unable to resolve '/images/title.png' for transcoding Code: [Embed(source="/images/title.png")] private var title:Class; In FB3, I get this error when building. At the root of the project I have an assets folder, which I have added as a source path, and that folder has the images folder referenced. It seems to me that the file should be found. How can I solve this? For what it's worth, I'm using ANT to do the build. Here is the mxmlc target: <target name="build.mxml" depends="check.swf"> <echo message="${basedir}\assets"/> <mxmlc file="build/swf/twileague.mxml" output="build/swf/twileague.swf" services="ear/${WEBAPP_NAME}.war/WEB-INF/flex/services-config.xml" context-root="${WEBAPP_CONTEXT_ROOT}" use-network="false" keep-generated-actionscript="true" warn-missing-namespace-decl="false" incremental="true"> <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> <source-path path-element="${FLEX_HOME}/frameworks"/> <source-path path-element="as3"/> <source-path ...

  1. #1

    Default Error: unable to resolve '/images/title.png' fortranscoding

    Error:
    Error: unable to resolve '/images/title.png' for transcoding

    Code:
    [Embed(source="/images/title.png")]
    private var title:Class;

    In FB3, I get this error when building. At the root of the project I have an
    assets folder, which I have added as a source path, and that folder has the
    images folder referenced. It seems to me that the file should be found. How
    can I solve this? For what it's worth, I'm using ANT to do the build. Here is
    the mxmlc target:

    <target name="build.mxml" depends="check.swf">
    <echo message="${basedir}\assets"/>
    <mxmlc
    file="build/swf/twileague.mxml"
    output="build/swf/twileague.swf"
    services="ear/${WEBAPP_NAME}.war/WEB-INF/flex/services-config.xml"
    context-root="${WEBAPP_CONTEXT_ROOT}"
    use-network="false"
    keep-generated-actionscript="true"
    warn-missing-namespace-decl="false"
    incremental="true">

    <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>

    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <source-path path-element="as3"/>
    <source-path path-element="build/swf"/>
    <source-path path-element="${basedir}\assets"/>

    <compiler.include-libraries dir="lib" append="true">
    <include name="granite.swc" />
    <include name="granite-hibernate.swc" />
    <include name="granite-seam.swc" />
    <include name="Cairngorm.swc"/>
    <include name="myButtons.swc"/>
    <include name="myCombobox.swc"/>
    <include name="tide.swc"/>
    </compiler.include-libraries>
    </mxmlc>
    </target>

    Thanks for any suggestions

    monkeyden.com Guest

  2. #2

    Default Re: Error: unable to resolve '/images/title.png' fortranscoding

    Hey

    are you sure that your path is /images/title.png because this is an absolute path and not a relative path
    dietmar.paulus Guest

Similar Threads

  1. error: unable to resolve '/images/datepicker.png' for transcoding
    By taiq in forum Macromedia Flex General Discussion
    Replies: 4
    Last Post: June 23rd, 09:33 PM
  2. [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass
    By Luca[M] in forum Macromedia Flex General Discussion
    Replies: 3
    Last Post: August 26th, 04:34 PM
  3. Title bar images? Untouchable images?
    By Soft Revolution in forum Macromedia Dynamic HTML
    Replies: 5
    Last Post: July 29th, 03:20 PM
  4. Unable for PDF to preserve doent title?
    By CheckeredFlag in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: July 21st, 08:55 PM
  5. Unable to resolve address with ping -a
    By Jason in forum Windows Networking
    Replies: 2
    Last Post: July 6th, 11:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139