Odd xml loading behaviour

Hi all, this is my first post here!

I have a odd problem with flash 8:
When I load a xml in as2, flash doesn’t wait for it to complete and will execute next lines. I need lines to be executed AFTER full xml parse, and it should NOT call any functions, like using onload to execute any other functions on success load.

Any idea?