well the events conflict... what if you register the rotate with a
shift+click?

Problem is it still is a bit tricky because the classes wrap the event
handlers. I am not sure what Rotate code your using. I assume your using the
Drag/Drag.Move class in -more for the dragging. This might be how I
accomplish it.

var dragObj = new Drag.Move(el).detach();
var rotateObj = new Rotate(el).detach();

el.addEvent('mousedown', function(evt){
    if(evt.shift) rotateObj.bound.start(evt);
    else dragObj.bound.start(evt);
});




On Fri, Jun 26, 2009 at 2:59 PM, Shrike <martin.sile...@gmail.com> wrote:

>
> I have a problem with an image that i must drag and rotate, if i use
> the rotate script the drag don't works.
>
> any suggestion? thanks
>
> On Jun 15, 10:07 am, ghazal <rosel...@gmail.com> wrote:
> > Hi,
> > you might be interested by this :
> http://www.piksite.com/mRotate/mRotate.html
> > Hope it helps.
> >
>

Reply via email to