Hello everyone, I have been trying to get the mouse to snap to the position of a movieClip once the movieClip is made visible. My approach was to define the coordinates of the mouse as that of the said movieClip however it seems flash does not dig my approach; see code below. So I would like to know weather it is possible and if so, how do I go about it. Thanks.

Stage_mc.addEventListener(MouseEvent.CLICK, showTaskTray);

function showTaskTray(myEvent:MouseEvent):void { 
	mouseX = taskManager.taskRibbon.x;
	mouseY = taskManager.taskRibbon.y;