I’m sure there must be an easy way to do this but I am new to flash so don’t know quite how to approach it.
I have a large number of bitmaps, all of different shapes and sizes, and all with associated data (i.e. name, description, cost, weight etc). I want to get all these items into AS in a data structure.
Based on what I know I could put together an XML file and parse that and then load each bitmap individually, but that could be very slow as it would mean loading lots of little bitmap files one at a time.
I could put all the bitmaps into one big bitmap and store their xywidthheight in the xml as well so that I only have to load one bitmap but that seems a bit tricky, especially if I need to add or remove items.
I could embed all this into a class and have it load everything at compile time which is ok but not very friendly to people who aren’t programmers and or don’t have the source file to recompile.
Is there something i can do using maybe flash to create bitmaps with additional properties and put them all in a swf that would be easy to edit by anyone using point and click?