# Syncronizing mc with mouse

**URL:** <https://forum.kirupa.com/t/syncronizing-mc-with-mouse/201538>\
**Category:** Uncategorized\
**Created:** [September 22, 2006, 8:15am UTC](https://forum.kirupa.com/t/syncronizing-mc-with-mouse/201538 "2006-09-22T08:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chevron8653](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@chevron8653](https://forum.kirupa.com/u/chevron8653)\
**Post date:** [September 22, 2006, 8:15am UTC](https://forum.kirupa.com/t/syncronizing-mc-with-mouse/201538/1 "2006-09-22T08:15:34Z")

</div>

hey guys, well this this [http://www.megaupload.com/?d=UI61MCRU](http://www.megaupload.com/?d=UI61MCRU) url is where my fla is located and blow is what i would like ur help with.

when u open the fla u will see 4 movie clips.  
well i was wondering how can i syncronize the verticleslider\_mc with the mouse and the testcylinder\_mc with the verticle slider\_mc when its on the pad1\_mc.  
ill exsplain in a 1 to number stage.

1 = when the mouse is over the verticleslider\_mc and its at the y coordinates of 968.7 and it starts moving up from them coordinats ne where over the verticleslider\_mc i am wanting the verticleslider\_mc to play its animation at normal speed forward but once the mouse has reached the y coordinates of 784.0 while still over the verticleslider\_mc i want the vertcleslider\_mc animation to be at the last frame of its animation which it has a total number of frames of 75. and when the mouse is moved back down towards the y coordinates of 968.7 while obviously still over the verticleslider\_mc i want the verticleslider\_mc to play its same animation in reverse.

2 = now once that is sorted out when the testcylinder is at its coordinates on the pad1\_mc and the verticleslider\_mc is doin its action we hoefully can setup with the mouse as i mentioned i want that testcylinder\_mc to play its animation frames which the total of that are 54 frame. but also that testcylinder\_mc also has a few other mc’s in it and i want them to start playing there animation at the same time and when the mouse is making the verticleslider\_mc animation go in reverse or foward i also want the testcylinder\_mc animation to go in reverse or foward to match the verticleslider\_mc.

so basicly what im wanting to do is syncronize the verticleslider\_mc animation with the up and down movement of the mouse while the mouse is hovering over the mc and then syncronize the testcylinder\_mc animation with the verticleslider\_mc animation when its going in reverse or foward.  
i just thuoght id try and exsplain it thouroly first time round for u.

u will see if u click on the testcylinder\_mc and open the actions panel i have an onclip event hitest so when the user drags it over the pad1\_mc the testcylinder\_mc is placed in the coded position so i dont want the syncronization to be enabled untill the testcylinder\_mc is in that position of the pad.

the testcylinder\_mc wont be the only object that i want this syncronization to work with in the furture i will be adding more objects that will have the same animation as the testcylinder\_mc and with same amount of frames so i hope the code would be easily editable for objects as well

thanks i hope i gave a thouro exsplination which id thought id do first time round save having it go on and on forever,  
i hope what im wanting to do is possible and ne help u guys can give me will be most appreciated.
