AS3 startDrag setting negative bounds

Hi there

I have a large movieclip (2336 x 1752) and a stage of 800 x 600. I want to be able to drag the movieclip around the stage so no white is visible:

minimum x before I get whitespace: -1536
minimum y before I get whitespace: -1152
maximum x before I get whitespace: 0
maximum y before I get whitespace: 0

I have tried this:


var mcBounds = new Rectangle(-1536, -1152, 0, 0);

mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
mc.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);

function mouseDownHandler(e:MouseEvent):void
{
    mc.startDrag(false, mcBounds);
}

function mouseUpHandler(e:MouseEvent):void
{
    mc.stopDrag();    
}

But it doesn’t drag at all…when I try it just moves it to it’s maximum position and stays there.

Is it because the rectangle can’t have negative values? If so how do I combat this?

Thank you