Hi all, I have an array of image names (of PNGs on my server), and I want to load these all up in an object list of images so I can show them when needed in my application.
I've found an oddity where some of these, sometimes, don't load properly for whatever reason and are blank when I need to show them. So I am thinking I should just embed them. But since I have 50+ images, I'd like to run a loop to embed each one, and all the examples of embedding show doing something like: [Embed(source="logo.gif")] [Bindable] public var imgCls:Class; and then mapping to an image. I'd rather not fill up my code with 50 separate variable defines, any easy way to iterate through this? thanks!