# Check width of movieclip loop?

**URL:** https://forum.kirupa.com/t/check-width-of-movieclip-loop/239108
**Category:** flash
**Created:** [September 18, 2007, 7:40pm UTC](https://forum.kirupa.com/t/check-width-of-movieclip-loop/239108 "2007-09-18T19:40:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)
#### Post date: [September 18, 2007, 7:40pm UTC](https://forum.kirupa.com/t/check-width-of-movieclip-loop/239108/1 "2007-09-18T19:40:58Z")

</div>

Hey all,  
I have a frame that plays and checks and prints the width of a movieclip, but the movieclip is constantly changing size, so I would like the textfield to show the movieclip width as is scales. I would assume I need to create a method of looping the code that checks the width, maybe a setinterval?

```auto
 
 
ypos.text = (this.rulerslave.picture_mc._width);
xpos.text = ("1");

stop();

```

That’s what I have on the current frame. Any ideas? thanks guy
