A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Images in Flex 4

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    10

    Images in Flex 4

    I try to add an image in Flex 4 in Flashdevelop:

    Code:
    <s:Image id="mydot" source="../images/1dot4aGreen.gif" x="250" y="370"></s:Image>
    The image appears correctly if I run the project from Flashdevelop. If I however publish the project and try to access the .swf with a browser on the server the image does not show up. (I only see a generic icon that represents that a image should be there but is not found). Do you have any idea what the problem is and what to do to correct it?

  2. #2
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Are you placing the image in a folder named "images" in the same folder where the .swf is in the server?
    Already mastering AS3. It was so fun. Now into Javascript and PHP and all its libraries

Tags for this Thread

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center