I've got a flash file that I'm loading some XML data into and displaying in a dynamic text box. There's quite a bit of data and I'd like to put a preloader on to determine when the data has loaded.

At the moment - I've tried a ifFrameLoaded on the second frame that loads the data into the xml and I'm using an onLoad to call the function to process the data.

The problem is that the second frame IS loaded straight away - but the data isn't - is there any way to do a pre-loader that examines when the data is loaded?

Has anyone got any examples of pre-loaders with xml data or any ideas on how I can acheive this?