# A Slight Problem with actionscript

**URL:** <https://forum.kirupa.com/t/a-slight-problem-with-actionscript/179380>\
**Category:** flash\
**Created:** [February 19, 2006, 3:35pm UTC](https://forum.kirupa.com/t/a-slight-problem-with-actionscript/179380 "2006-02-19T15:35:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarkSUn](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@DarkSUn](https://forum.kirupa.com/u/DarkSUn)\
**Post date:** [February 19, 2006, 3:35pm UTC](https://forum.kirupa.com/t/a-slight-problem-with-actionscript/179380/1 "2006-02-19T15:35:48Z")

</div>

Hello all. I am in a bit of a hole. Ok so the thing is i have my main timeline with the content and i also have buttons and now beside these buttons i have a movie clip now what i am trying to do is when i rollover these buttons they would have a new image appear accordingly. So i basically need to target the movie clip and for each button to go to a different area of the movie clip’s timeline. I have tried

on (release) {  
targetPath(pic7\_mc);  
gotoAndPlay(frame2);  
}

and

on (release) {  
tellTarget(pic7\_mc);  
gotoAndPlay(frame2);  
}

but these are not correct and its been a while since i have done any actionscript. Any help would greatly be appreciated.
