# Conditional statement not working?

**URL:** <https://forum.kirupa.com/t/conditional-statement-not-working/267443>\
**Category:** flash\
**Created:** [August 1, 2008, 3:52am UTC](https://forum.kirupa.com/t/conditional-statement-not-working/267443 "2008-08-01T03:52:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkhippothewis](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@darkhippothewis](https://forum.kirupa.com/u/darkhippothewis)\
**Post date:** [August 1, 2008, 3:52am UTC](https://forum.kirupa.com/t/conditional-statement-not-working/267443/1 "2008-08-01T03:52:30Z")

</div>

Hi All,  
In the code below i can’t seem to get the second conditional statement to work.  
Any Ideas?

on (press) {  
startDrag(this, true);  
}  
on (release) {  
stopDrag();  
if (this.\_droptarget == “/box9”) {  
\_root.corSound.start();  
\_root.count = \_root.count+1;  
\_root.cnt = \_root.count;  
this.\_visible = false;}  
tellTarget ("/box9") {  
gotoAndStop(“pic”);  
\_alpha = 100;  
}

if (\_root.count == 10 && sisaSec \>20){  
tellTarget ("/") {gotoAndStop(4)  
}  
}

else if(\_root.count == 10 && sisaSec \<20){  
tellTarget ("/") {gotoAndStop(3)  
}  
}  
}
