Question
preloader for xml file and stage assets
I have a Flash app that shows a map with different regions
colored depending on values in an external xml file. I also have a
simple preloader that I want to appear until all the elements of
the app are ready to be displayed. However, when I use the
preloader, the results are the same as if I hadn't use it. My map
comes up immediately with no colors, there is a pause, and then the
colors come in (as calculated from the data in my xml file). Can
anyone tell me what I'm doing wrong? Do I have to have code in my
xml loader that tells the user what percent of the file is
loaded?