I have setup a button so that when i press it , it drags this movieclip and when i release it stopsdrag… what i wanan do is… detect if the movieclip has been draged or not… like how do i pass set a variable when a movie clip has been draged…
so far ive set it up soo that when i press the button it sets a variable… but a user might just press the button and not drag the movieclip i wanna set the variable not when the button is pressed but when the movie clip has actually been draged… ?
Check my attachment. It has commented code of what I think you are trying to achieve.
Here is another version that when you drag it it resets the _x position so that it detects yet again whether it has been dragged or not. This allows you to check more than once if it was dragged if you wanted to.
dude thanks for ur help… that helped tonnez.,… i feel soo dumb… why dint i think of that… heheh 
I guess it could be an easy thing to overlook. It all depends on the way you approach your problem. I just thought to myself that if the position wasn’t in the original position then it was dragged, so I took that thought and put it into AS. I usually like to think of my situation in words before I put it into script. It makes things easier sometimes.