Dynamic array question //

Hello //

Question on arrays. I have an app I am building that uses co-ordinate _x points to control movement of movie clips.

I would like to use an array to store these as the current statement based way I am moving the clips is getting tedious…

Is it possible to have an array like below- (where the letters correspond to the desired _x numerical values)- store these _x point values and cycle through them?

desiredXpoints = new Array(“a”, “b”, “c”, “d”, “e”, “f”, “g”, “h”);

What I mean is. When one clip moves left it would cause the values to change like so:

desiredXpoints = new Array(“b”, “c”, “d”, “e”, “f”, “g”, “h”, “a”);

Or skipping ahead 4 _x values from the original array above would cause the following to occur:

desiredXpoints = new Array(“e”, “f”, “g”, “h”, “a”, “b”, “c”, “d”);

The reason I ask is… the set of clips move from the right of the screen to the left depending on when a user would click a navigation item in a seperate nav bar movie clip. I would like to have an array cycle it’s values so that the _x value for each clip to move left (which is the same for all desired movements) could always correspond dynamically with whatever nav section was called to move.

Thanks if you can help out. Need any more info let me know… Thanks again in advance.

// vagabond007