# Probably very easy!

**URL:** <https://forum.kirupa.com/t/probably-very-easy/89451>\
**Category:** Uncategorized\
**Created:** [May 8, 2005, 3:10pm UTC](https://forum.kirupa.com/t/probably-very-easy/89451 "2005-05-08T15:10:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thewebgremlin](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@thewebgremlin](https://forum.kirupa.com/u/thewebgremlin)\
**Post date:** [May 8, 2005, 3:10pm UTC](https://forum.kirupa.com/t/probably-very-easy/89451/1 "2005-05-08T15:10:49Z")

</div>

hi there folks

i have loader1, loader2 and loader3

I also have pic1\_mc, pic2\_mc and pic3\_mc

The pic movie clips all have a variable in the this scope called viewervariable, which is a number. Each clip has corresponding loader, as pics load into the three clisop at the same time.

I have created a prototype function, (below), and once told to load an image, the pic mcs have to tell their corresponding loader to show loading info, but i am having trouble referencing the corresponding loader, i presume it needs some sort of string join (‘loader’ + viewervariable), but i have tried this and it doesnt work

any ideas

tia

jamo

```auto
 
MovieClip.prototype.LoadImages = function() {
 if (this._x>this.CloseXpos) {
  this._x += (this.CloseXpos-this._x)/this.CloseSpeed;
 }
 if (Math.round(this._x) == this.CloseXpos) {
  //unload pics from viewers
  this.holder_mc.unloadMovie();
  //load new images into the viewer, 
 loadMovie(_global.Currentkitchen+'/'+_global.Image[Viewervariable]+'.jpg', 'this.holder_mc');
//tell its corresponding loader to start showing loading info
_root.loaders.loader[viewervariable]._visible = true;
_root.loaders.loader[viewervariable].Status = 'loading';
 }
}; 

```
