# Targeting timelines

**URL:** https://forum.kirupa.com/t/targeting-timelines/227266
**Category:** flash
**Created:** [May 29, 2007, 2:10am UTC](https://forum.kirupa.com/t/targeting-timelines/227266 "2007-05-29T02:10:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rohan](https://forum.kirupa.com/u/rohan)
#### Post date: [May 29, 2007, 2:10am UTC](https://forum.kirupa.com/t/targeting-timelines/227266/1 "2007-05-29T02:10:41Z")

</div>

This should would right?

```auto
 
a.b.c.d.onRollOver = function () {
_root.e.f.gotoAndPlay ("over");
_root.e.g.gotoAndPlay ("done");
}

```

I need to change what a button does at certain keyframes, namely rolling over it animates different things nested inside of different movie clips at different times. I thought this should work but it doesn’t seem to be doing anything…
