# Loading Independent Images

**URL:** https://forum.kirupa.com/t/loading-independent-images/21105
**Category:** flash
**Created:** [May 17, 2003, 4:06am UTC](https://forum.kirupa.com/t/loading-independent-images/21105 "2003-05-17T04:06:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dr\_dave](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@dr\_dave](https://forum.kirupa.com/u/dr_dave)
#### Post date: [May 17, 2003, 4:06am UTC](https://forum.kirupa.com/t/loading-independent-images/21105/1 "2003-05-17T04:06:19Z")

</div>

Hello everyone

I have a movie located here…

[www.paraisocz.com/test.html](http://www.paraisocz.com/test.html)

What I want to do is to let each of those three image windows to rotate a set of separate images independently of each other using actionscript.

In other words, the image window on the left will be rotating about 5 to 10 images while the image in the middle will do the same but with a different set of images and the same for the image window on the right.

Can someone help or lead me to a good site for assistance?

Please bare with the slow loading. I haven’t built a preloader yet.

Thanks  
Dave

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 17, 2003, 4:47am UTC](https://forum.kirupa.com/t/loading-independent-images/21105/2 "2003-05-17T04:47:09Z")

</div>

This would work of course, but it may not be the best way. It randomly loads jpgs from the leftPhotoArray every 1000 ms. Something similar would also work for the middle and the right image holders. Any questions, just ask.

```auto

leftPhotoArray = ["p0.jpg", "p1.jpg", "p2.jpg"];
this.createEmptyMovieClip("left",1);
left._x = 50;
left._y = 20;
loadLeftFrame = function(){
	
	i = Math.floor(Math.random()*leftPhotoArray.length);
}

id = setInterval(loadLeftFrame, 1000);

```

Ⓜ

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 18, 2003, 5:06am UTC](https://forum.kirupa.com/t/loading-independent-images/21105/3 "2003-05-18T05:06:49Z")

</div>

I will give that a shot.

Tnx  
Dave
