XML loading problem with JSP

Im working on a multi-lingal flash file that loads a particular XML file depending on parameters sent to the film, or refresh all the language when clicking on a country flag.

Whats happening is the file works fine locally, on the server it works fine (loading swf directly), but when its embedded into its container page (JSP page) the XML loads for a fraction of a second (i.e. you see the language load) and the suddenly everything resets itself to Null, only the first node instance displays null, everything else is empty. Its the same in IE as mozilla.

Im totally confused about this as it appears to be working everywhere except for where it should. If anyone knows any ideas or articles which could help me solve this I’d be most appreciative.

Thanks in advance