Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-17151

image path with leading forward slash causes image not to load at run-time

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • mx: Image
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Create path to image that starts with leading forward slash - private var bannerPath:String = "/assets/banner.png";

      2. Use that path as the source for an Image.

      3. Run project.

      Actual Results:
      The image doesn't load. Instead you see the broken-link image. This same path worked fine in FB3. If the path is embedded, it works fine.

      Expected Results:
      The image should load.

      Workaround (if any):
      Use a relative path instead of absolute.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment