# Switch/Case multiple conditions

**URL:** <https://forum.kirupa.com/t/switch-case-multiple-conditions/247888>\
**Category:** flash\
**Created:** [December 31, 2007, 8:45pm UTC](https://forum.kirupa.com/t/switch-case-multiple-conditions/247888 "2007-12-31T20:45:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Post date:** [December 31, 2007, 8:45pm UTC](https://forum.kirupa.com/t/switch-case-multiple-conditions/247888/1 "2007-12-31T20:45:26Z")

</div>

hi!

I have this switch here … which doesn’t seem to be working…

```auto
Power = 100;
switch(Power){
case 0<Power and Power<140 :
    trace("level1");
    play();
    //==== level 1 ====//
    break;
}

```

Could someone tell me what it is i’m suppose to do?

Thanks!
