Load all images from internal application
Posted
by
Dom
on Stack Overflow
See other posts from Stack Overflow
or by Dom
Published on 2012-10-26T22:58:31Z
Indexed on
2012/10/26
23:00 UTC
Read the original article
Hit count: 196
I am trying to load all the .png files from an internal application folder into a list control and I am stuck on exactly how to do it. I have tried httpservice to get the folder and count how many images there are so I can loop through them but I just cant figure that out.
File structure
-src
-(default package)
-my application files
-icons
-all my .png files
httpService i tried:
<s:HTTPService id="loadAllImages" destination="/icons" result="gotImages(event)" fault="loadAllImagesFault(event)"/>
This always results in directory not found. Am I going about this completely wrong? Anyone have a suggestion?
© Stack Overflow or respective owner