Selecting text without intefering with surrounding elements

Evening Guys,

I was wondering if I could grab a hand on a problem.

I’m in the process of putting together a project and at the moment I’ve created an interface where the user can add instances within a movieclip and change text.

The problem occurs when the user tries to highlight a text within an input box and the whole interface would move.

Main Frame Code


interface_mc.onMouseDown = function(){
	startDrag(this);
}
interface_mc.onMouseUp = function(){
	stopDrag();
}

Generated Obj Code (First Frame)


tooltip.onPress = function() {
	startDrag(this._parent,false,-540,-412,540,412);
        // used to constrict element within the interface_mc
};
tooltip.onRelease = function() {
	stopDrag();
};

I was wondering if someone wouldn’t mind taking a look at letting me know where I’ve gone wrong, I’ve been banging my head against this laptop all day trying to think of a workaround but my knowledge isn’t as good as some of you guys on here :slight_smile:

Thanks,
Steve