# getProperty problem

**URL:** <https://forum.kirupa.com/t/getproperty-problem/180156>\
**Category:** programming\
**Created:** [February 26, 2006, 8:54am UTC](https://forum.kirupa.com/t/getproperty-problem/180156 "2006-02-26T08:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charmander](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@charmander](https://forum.kirupa.com/u/charmander)\
**Post date:** [February 26, 2006, 8:54am UTC](https://forum.kirupa.com/t/getproperty-problem/180156/1 "2006-02-26T08:54:49Z")

</div>

[FONT=Calibri][SIZE=3]Hi[/SIZE][/FONT]  
[FONT=Calibri][SIZE=3]I have a question I hope you can help me to solve it………[/SIZE][/FONT]  
[FONT=Calibri][SIZE=3]If I had a movie clip (num2) that stays within another movie clip (num1), and I have a tow text fields called (textx) for \_x , and (texty) for \_y, and when I tried to to get the (num2)”” the movie clip stays within (num1)”” property (x) & (y) by the action in frame one: [/SIZE][/FONT]

[FONT=Calibri][SIZE=3]textx = getProperty("\_root.num1.num2",\_x);[/SIZE][/FONT]  
[FONT=Calibri][SIZE=3]texty = getProperty("\_root.num1.num2",\_y);[/SIZE][/FONT]

[FONT=Calibri][SIZE=3]But its didn’t work correctly, because its get the num2 property in the num1 movie clip, not its property in the screen, any suggesions:pa: [/SIZE][/FONT]  
[FONT=Calibri][SIZE=3][/SIZE][/FONT]  
[FONT=Calibri][SIZE=3]p.s.use the arrows to move the num1 movie clip[/SIZE][/FONT]
