how to images store localy from xml using flex 3?
I have one xml link. that link have collections of images(apx 1000 images).
when i flex applications start at the time load all images in locally. then when i need that images then use it.
How i do this... give me some links and logic.
Using flex 3.
T开发者_StackOverflow社区hanks advance.
senthil.
- Load the .xml form server or so.
- Parse the .xml and create a Map where you store all the image URLs
- Place an Image Component on your UI and set the "source" property to the value of the image URL
- Flash Plugin will load the image from the URL and will show the image when done.
- If you are facing a "SandboxVaiolationException" (or something like that) you need to tell your server to let the request go.
If you want to change the "source" Property of the Image at runtime, just set it after a click oder an other Event. (is no problem)
精彩评论