# Aligning movieclip \_x and width problem

**URL:** https://forum.kirupa.com/t/aligning-movieclip--x-and-width-problem/171359
**Category:** Uncategorized
**Created:** [December 4, 2005, 8:56pm UTC](https://forum.kirupa.com/t/aligning-movieclip--x-and-width-problem/171359 "2005-12-04T20:56:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kippereye](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@kippereye](https://forum.kirupa.com/u/kippereye)
#### Post date: [December 4, 2005, 8:56pm UTC](https://forum.kirupa.com/t/aligning-movieclip--x-and-width-problem/171359/1 "2005-12-04T20:56:51Z")

</div>

Hi

I`m trying to get a bunch of attached movie clips have a different widths for certain clips

var words\_list = [[“a”], [“a”, “-”, “b”, “ou”,"-" “t”],[“we”,"-",“jk”-“h”]

Im attaching each letter into a seperate movie clip.  
When I get to a “-” sign I want to clip to be smaller in width. The problem I`m having is that all the clips are the same distance apart and I need them to be different widths depending on if its a "-" or a letter. I think the problem is the "vari" variable, but I`m blowed if i can figure it out!

for (i=0; i
