# \_root.thisThread = ratio

**URL:** <https://forum.kirupa.com/t/-root-thisthread-ratio/223678>\
**Category:** Uncategorized\
**Created:** [April 24, 2007, 9:15pm UTC](https://forum.kirupa.com/t/-root-thisthread-ratio/223678 "2007-04-24T21:15:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsmario](https://avatars.discourse-cdn.com/v4/letter/i/ecb155/32.png) [@itsmario](https://forum.kirupa.com/u/itsmario)\
**Post date:** [April 24, 2007, 9:15pm UTC](https://forum.kirupa.com/t/-root-thisthread-ratio/223678/1 "2007-04-24T21:15:53Z")

</div>

Ok, I was thinking that the mouse’s \_x would be a ratio to a frame in an MC, ‘frog’. I would do this. When the mouse was at the absolute left, a dynamic textbox would read 30. And right would be 1. Then I would have this code:

```auto
frog.gotoAndStop(_root.textbox.text);

```

Will what I do work?  
Can you give the ratio code?  
Why don’t I have any friends? (lol jk)
