# Can't setProperty across timelines. Help!

**URL:** <https://forum.kirupa.com/t/cant-setproperty-across-timelines-help/820>\
**Category:** Uncategorized\
**Created:** [July 31, 2002, 6:48am UTC](https://forum.kirupa.com/t/cant-setproperty-across-timelines-help/820 "2002-07-31T06:48:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![3dron](https://avatars.discourse-cdn.com/v4/letter/3/2acd7d/32.png) [@3dron](https://forum.kirupa.com/u/3dron)\
**Post date:** [July 31, 2002, 6:48am UTC](https://forum.kirupa.com/t/cant-setproperty-across-timelines-help/820/1 "2002-07-31T06:48:31Z")

</div>

Under one layer I have an invisible hotspot which I am capturing mouse position when rollover occurs.

Then within same actionscript I have a setPropery command on an instance name of another movie clip.

```
setProperty("subObj", _x, var_x);

```

This other clip is on another layer and is a sub movie clip of another layers movie clip.

Why won’t my setPropery command update the position of this sub clip? Am I missing something like

\_root.subObj

Please help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 31, 2002, 6:53am UTC](https://forum.kirupa.com/t/cant-setproperty-across-timelines-help/820/2 "2002-07-31T06:53:05Z")

</div>

onClipEvent (mouseMove) {  
if (this.hitTest(\_root.\_xmouse, \_root.\_ymouse)) {  
var\_mov = (\_xmouse-x\_old)\*4;  
x\_old = this.\_xmouse;  
}  
}

This is not the complete code at how I arrive at var\_x. It’s just showing how I am using hitTest and \_root. Is this correct.

This is in the hidden rollover object.
