开发者

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.


  1. Load the .xml form server or so.
  2. Parse the .xml and create a Map where you store all the image URLs
  3. Place an Image Component on your UI and set the "source" property to the value of the image URL
  4. Flash Plugin will load the image from the URL and will show the image when done.
  5. 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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜