MC "_x" limit?

Hi,

The following method checks to the left when it is inserted with mouse and kits are mc … Measurements do not as I did not? I really want to explain, for example, I have a picture or 3000 px but I mc let’s say this image from both directions in equal amounts 2000px want to move. from the right and the left will lose 500’er px …

My project is over, friends problem here … :crying:

CODE:
[COLOR=red]this.tumMC.onEnterFrame = function() { [/COLOR]
[COLOR=red]var delay = 15; [/COLOR]
[COLOR=red]difference = _xmouse - arrow._x; [/COLOR]
[COLOR=red]arrow._x = arrow._x + (difference/delay); [/COLOR]
[COLOR=red]if (tumMC._x >=200 || tumMC._x[/COLOR]
[COLOR=red]delete tumMC.onEnterFrame;// burda değerlerin arasından çıkıldığında fonksiyonu kırıyorum [/COLOR]
[COLOR=red]} [/COLOR]
[COLOR=red]else{ [/COLOR]
[COLOR=red]tumMC._x = - arrow._x; [/COLOR]
[COLOR=red]} [/COLOR]
[COLOR=red]}[/COLOR]