# Question about array?

**URL:** <https://forum.kirupa.com/t/question-about-array/116136>\
**Category:** Uncategorized\
**Created:** [July 14, 2004, 10:21pm UTC](https://forum.kirupa.com/t/question-about-array/116136 "2004-07-14T22:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabi](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@rabi](https://forum.kirupa.com/u/rabi)\
**Post date:** [July 14, 2004, 10:21pm UTC](https://forum.kirupa.com/t/question-about-array/116136/1 "2004-07-14T22:21:48Z")

</div>

```auto
loadClip = function (mc) {
	speed = 3;
	loc = 0;
	with (mc) {
		_xscale = 0;
		_yscale = 0;
		_x = 0;
		_y = 0;
	}
};
myClips = new Array("fraL", "fraR", "fraT", "fraB");
for (i=0; i<myClips.length; i++) {
	mc = myClips*;
	this.square.mc.onLoad = function() {
		loadClip(this);
		//trace (mc);
	};
}

```

dear members, I need some help-

The above mentioned code doesn’t work. In arraying, [COLOR=Red]is it possible to put the names of movie clips into Array,movie clips that I have in stage, and call them for a common function?[/COLOR]  
eg. fraL, fraR, fraT, fraB are four movie clips on stage.  
I put them in array and called them with “mc”.onLoad as function. This didn’t work. loadClip is another function that I am using for setting properties.

I was trying to apply the similar functions called with for Loop…  
Please help me out

:huh:
