# Movie Clip Loader Issues

**URL:** <https://forum.kirupa.com/t/movie-clip-loader-issues/117835>\
**Category:** Uncategorized\
**Created:** [July 30, 2004, 6:46pm UTC](https://forum.kirupa.com/t/movie-clip-loader-issues/117835 "2004-07-30T18:46:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Disco\_Stu1](https://avatars.discourse-cdn.com/v4/letter/d/e79b87/32.png) [@Disco\_Stu1](https://forum.kirupa.com/u/Disco_Stu1)\
**Post date:** [July 30, 2004, 6:46pm UTC](https://forum.kirupa.com/t/movie-clip-loader-issues/117835/1 "2004-07-30T18:46:18Z")

</div>

EDIT:[COLOR=Red] SOLVED. [/COLOR]

I’ve got some pretty strange looking code here… but for some reason my movie doesn’t load anything at all. I don’t get any errors at all, but it just doesn’t load. I think it might have something to do with the MCL stuff, but you tell me.

```auto

var var_service = random(8)
var lock = "off";

mov_mcl = new MovieClipLoader();
mov_list = new Object();

pic_mcl = new MovieClipLoader();
pic_list = new Object();

//function listing:
function phase2() {
	mov_mcl.loadClip("index_1_play.swf","_parent.container_mc")
	clearInterval( phase2_var )
	trace("running phase2");
}

function delaySwap() {
	whiteflash.gotoAndPlay(2)
	loadNext()
	clearInterval( delaySwap_var )
	trace("running the delaySwap function");
}

function loadNext() {
	++var_service
	if(var_service >= 8) {
		var_service = 0
	}
	pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")
}

//load completes:
mov_list.onLoadComplete = function() {
	_parent.container_mc.gotoAndPlay(2);
	}

pic_list.onLoadComplete = function() {
	if(lock == "off"){
		gotoAndPlay(2);
		phase2_var = setInterval(phase2, 1000)
		lock = "on";
	}
	delaySwap_var = setInterval(delaySwap, 6000)
	whiteflash.gotoAndPlay(11);
	}
	
// starts off the whole thing:
pic_mcl.loadClip("random-index/"+var_service+".jpg","pic1_load")

//listeners
pic_mcl.addListener(pic_list);
mov_mcl.addListener(mov_list);

stop();

```
