This should do the trick:
<fx:Declarations> <s:Move id="moveEffect" /> </fx:Declarations> <s:Group id="mapContainer" width="300" height="300" clipAndEnableScrolling="true" click="pan(event.localX, event.localY)"> <s:Image id="map" source="@Embed('bigMap.png')" /> </s:Group>
'localX' and 'localY' are the position of the mouse "x" and "y" relative to mapContainer.
And now the pan () method:
private function pan(mouseX:Number, mouseY:Number):void {
source share