Re: [Flashcoders] Click drag to control a MC?

2006-09-12 Thread PGriswold
Thanks Zeh! I understand the concept of what you're saying to do, but don't understand how to apply it. Right now I'm doing this: onClipEvent (enterFrame) { framePos = int(_xmouse / 200 *( _parent._totalframes)); if (framePos<0) { _parent.gotoAndStop(_parent._totalframes + ((framePos + 1) % _

Re: [Flashcoders] Click drag to control a MC?

2006-09-11 Thread Zeh Fernando
I have a sequence of 3D bitmaps - its an object rotating 360 degrees. I've put the frames in a MC. Right now I have code that tracks the mouse and depending on if the mouse moves in +x or -x the frames go forward or backward. But, what I really want is for the MC to be controlled by a click drag -

[Flashcoders] Click drag to control a MC?

2006-09-11 Thread PGriswold
Hello everyone. I posted this earlier but received no response so perhaps I didn't phrase my question very well. I have a sequence of 3D bitmaps - its an object rotating 360 degrees. I've put the frames in a MC. Right now I have code that tracks the mouse and depending on if the mouse moves in