Problem in Refreshing Flex Image Component Source
Posted on 2008-10-29
I have a Flex application for show some images, when I load dynamic contents, for a differents source (like xml from php), not problem with image component content.
My application have a module for change image source for groups and subgroups of images files, this image of group is use like album front.
When I change image file (only content not the name) from a filereference, flex application reload or reassign the source to image component, but the image component show old content.
The old and new content have the same file name, I know what this a problem with internet cache, so I need know if possible force to image component reload or reprocess the source with the same file name.
Example by pseudocode:
original content from xml: imgView.source = @image //("albums/album1/photo0001.jpg")
run and load filereference and get new content, but with the same name, the filename (albums/album1/photo0001.jpg) is overwrite by php code.
reassign image content: imgView.source=null, imgView.source = ""albums/album1/photo0001.jpg" show the old content (old image file) not the new content in same file.
Is possible force to image component reprocess source content for get new image from the same file name?. Use of Bitmap analysis can help me?