Hey there, I'm working on a little game in Flex, and when trying to do things the way I usually do them I am running into some design issues.
For instance, I would normally have my assets and data specified in XML, which is no problem in Flex of course, but here's the rub - bitmaps. So, I can specify the filename of the bitmap in the XML and then it can load it from the proper web directory, but that kind of sucks. It'll be a ton of little web requests, which are slow, plus I'd rather load it one big chunk. Is there a nice way to do this? I can think of a potential hack like embedding the assets in some class but then how do I reference the embedded classes from XML? Any help on this would be appreciated.

