# Xmlurl problem with loading into level

**URL:** <https://forum.kirupa.com/t/xmlurl-problem-with-loading-into-level/303363>\
**Category:** Uncategorized\
**Created:** [January 19, 2010, 12:58pm UTC](https://forum.kirupa.com/t/xmlurl-problem-with-loading-into-level/303363 "2010-01-19T12:58:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pilot4ik](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@pilot4ik](https://forum.kirupa.com/u/pilot4ik)\
**Post date:** [January 19, 2010, 12:58pm UTC](https://forum.kirupa.com/t/xmlurl-problem-with-loading-into-level/303363/1 "2010-01-19T12:58:40Z")

</div>

Hi, I have a problem with adding FlashVars to an very old project - the data from txt.txt is loaded into textfields …  
The last few “commented” rows are working test - they works and displays the data, but if I try to loadMovie(xmlurl, 0); there’s no result …

```auto
if (xmlurl.length>0) {    
    loadMovie(xmlurl, 0);
    loadVariablesNum("txt.txt", 0);
    _root.bg.loadMovie("flash/bg.swf");
} else {
    loadMovie("flash/main.swf", 0);
    _root.bg.loadMovie("flash/bg.swf");
/* loadMovie("A-03.swf", 0);

    loadVariablesNum("txt.txt", 0);*/

}

```
