# Problem with loading from external file

**URL:** <https://forum.kirupa.com/t/problem-with-loading-from-external-file/166271>\
**Category:** Uncategorized\
**Created:** [October 18, 2005, 3:42pm UTC](https://forum.kirupa.com/t/problem-with-loading-from-external-file/166271 "2005-10-18T15:42:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yodalr](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/yodalr/32/1816_2.png) [@yodalr](https://forum.kirupa.com/u/yodalr)\
**Post date:** [October 18, 2005, 3:42pm UTC](https://forum.kirupa.com/t/problem-with-loading-from-external-file/166271/1 "2005-10-18T15:42:32Z")

</div>

My problem is next:  
The movie works fine when there is 2 frames, and there is a button with “play” command, on the first frame, wht leads to the second frame. What i need is the code from second frame, working on first frame. When i do tht, it loads nothing to the combobox, any idea’s why?

Sample:  
[http://www.zone.ee/avp2estclan/test2.swf](http://www.zone.ee/avp2estclan/test2.swf)

First frame actions:  
[AS]loadVariablesNum(“replaycars.php”, 0);  
stop();  
[/AS]

Second frame actions:  
[AS]  
stop();

arv = 0;

function uuenda() {  
arv = arv+1;  
bx1 = eval(“car”+arv);

cars.addItem(bx1);  
if (bx1 == undefined ) {  
clearInterval(interval);  
cars.removeItemAt(arv-1);  
}

}  
interval = setInterval(uuenda, 0);  
[/AS]
