# Need a littile help with this script --\>

**URL:** <https://forum.kirupa.com/t/need-a-littile-help-with-this-script/216797>\
**Category:** flash\
**Created:** [February 20, 2007, 5:55pm UTC](https://forum.kirupa.com/t/need-a-littile-help-with-this-script/216797 "2007-02-20T17:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhet](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zhet/32/3307_2.png) [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Post date:** [February 20, 2007, 5:55pm UTC](https://forum.kirupa.com/t/need-a-littile-help-with-this-script/216797/1 "2007-02-20T17:55:38Z")

</div>

I need this script to run, but I gues I’m no so good with actionscript and making stupid mistakes. Anyway, heres the script I have problems with:

on (press) {  
startDrag(\_target);  
}  
on (release) {  
stopDrag();  
this.\_x = 592;  
this.\_y = 549.5;  
if (this.\_droptarget == “/for\_r”) {  
eval(this.\_droptarget.gotoandplay(2));  
} else {  
eval(this.\_droptarget.gotoandplay(3));  
}  
}

The idea is simple: if the movie clip I drag falls on on a movie clip named “for\_r”, “for\_i” changes to frame 2, if it isn’t my “for\_i”, some other clip changes to frame 3.  
Please help!
