Ok this seems to be a very basic problem and a very easy problem for you guys out there but i really can't get it to work
Ok here is the thing
i created a drag and drop function where the user drangs the toy_f movie clip onto the cabinet_H movieclip. when it is correct it will send out a respone. Ok now the problem is i can't kill the toy drag function

when it is on correct location which is the cabinet_H. I want it to lock and go alpha. I just can't kill that function and make it into alpha. please help
this is the code
on(press){
startDrag(this);
}
on(release){
stopDrag();
if(_droptarget eq "/cabinet_H"){ // check if correct
this.obj.alpha=0.5;
//nextFrame();
//correct tanda tick
_root.toy_Res.gotoAndStop(2);
}else{
//blank no respone
_root_toy_Res.gotoAndStop(1);
//function to snap back
this._x=73.3;
this._y=463.9;
}
}
- on(press){
- startDrag(this);
- }
- on(release){
- stopDrag();
- if(_droptarget eq "/cabinet_H"){ // check if correct
- this.obj.alpha=0.5;
- //nextFrame();
- //correct tanda tick
- _root.toy_Res.gotoAndStop(2);
- }else{
- //blank no respone
- _root_toy_Res.gotoAndStop(1);
- //function to snap back
- this._x=73.3;
- this._y=463.9;
- }
- }
please help !!!!