# How.to.drag.rotate

**URL:** <https://forum.kirupa.com/t/how-to-drag-rotate/12250>\
**Category:** Uncategorized\
**Created:** [January 28, 2003, 10:34pm UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250 "2003-01-28T22:34:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayemsee](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jayemsee](https://forum.kirupa.com/u/jayemsee)\
**Post date:** [January 28, 2003, 10:34pm UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250/1 "2003-01-28T22:34:53Z")

</div>

ok im no flash actionScript guru, but i have tried a couple different ways and nothing is turning out correctly. probobally because i do not have the knowledge needed to complete my task.

i have a 3d character spin exported as .jpg’s (50 frames\_50 .jpg’s)  
contained in a movie clip. my question to you all is…

“how do i make it so that the movie has a(n) startdrag script, so depending on drag left and drag right, the movie clip plays the desired .jpg’s? resulting in a character rotation based on mouse movement.”

i.e - drag to the right it starts playing frame 1,2,3,4,5,6,7,8, 9 and 10 of the jpg’s in the movie clip, and than on drag left it plays 10,9,8,7,6,5,4,3,2 and 1 of the jpg’s.?

any help would be very much appreciated, comments? links?

thanx in advance j@yemsee!

---

<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:** [January 28, 2003, 11:21pm UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250/2 "2003-01-28T23:21:00Z")

</div>

anyone? if it would help? i saw this @ [drag.rotate](http://www.rockstargames.com/midnightclub2/mc2_home.html) click on LA, the car in the lower right

---

<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:** [January 28, 2003, 11:58pm UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250/3 "2003-01-28T23:58:59Z")

</div>

it wouldn’t be a startDrag script because you wouldn’t actually be dragging anything. It would be telling a movieclip to gotoAndStop() on a frame depending on where the mouse’s position is in relation to the car.

---

<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:** [January 29, 2003, 2:58am UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250/4 "2003-01-29T02:58:37Z")

</div>

see  
[http://www.flashkit.com/board/showthread.php?s=&threadid=379970](http://www.flashkit.com/board/showthread.php?s=&threadid=379970)

---

<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:** [January 29, 2003, 6:39am UTC](https://forum.kirupa.com/t/how-to-drag-rotate/12250/5 "2003-01-29T06:39:12Z")

</div>

thanx both of you for replying, now my portfolio site can be complete! i know it’s wierd sayin thanx on the net in a way or mabye it me, but you have helped me a great deal.

see the wierd thing is i go to school for ocmputer animation (maya & max) and i need people to teach me how and just mess w/ it myself. but all of flash i have taught to myself?  
i should have some MX components to share in about 5 days.  
simple progressive percent preloaders  
re-gressive preloaders  
bubble script  
and other various scripts for effects that i use on demand!

j@yemsee!
