I have a VERY specific requirement. I need to be able to load up a bunch of .png images and set them as the skins for various buttons. Here is what I want to be able to do:
I really, really want to avoid having to make callback functions, because I'll end up with a billion of them. Optimally, I will be able to make ImageLoader a pure static class so I can just use this from anywhere.
This is in Flex 3.5.
Of course, this has to be at runtime.
Create a custom skin that will load the png file.