# Simple clean up - been away for a while

**URL:** https://forum.kirupa.com/t/simple-clean-up-been-away-for-a-while/98316
**Category:** Uncategorized
**Created:** [January 6, 2004, 12:04am UTC](https://forum.kirupa.com/t/simple-clean-up-been-away-for-a-while/98316 "2004-01-06T00:04:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kdzines](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kdzines](https://forum.kirupa.com/u/kdzines)
#### Post date: [January 6, 2004, 12:04am UTC](https://forum.kirupa.com/t/simple-clean-up-been-away-for-a-while/98316/1 "2004-01-06T00:04:04Z")

</div>

hey there,

i just need someone to show me how to re-write this:

```auto

thumb1MainHolder._xscale = 20;
thumb1MainHolder._yscale = 20;
thumb2MainHolder._xscale = 20;
thumb2MainHolder._yscale = 20;
thumb3MainHolder._xscale = 20;
thumb3MainHolder._yscale = 20;
thumb4MainHolder._xscale = 20;
thumb4MainHolder._yscale = 20;
thumb5MainHolder._xscale = 20;
thumb5MainHolder._yscale = 20;
thumb6MainHolder._xscale = 20;
thumb6MainHolder._yscale = 20;

```

i just want to stick it in a for loop (or something similar) so that it’s less lines of code.

Been away from flash for a while and seem to have forgotten loads!

thanks
