Move object and switch(case) the x value of object

What I’m trying to do here is capture and use the x coordinate of my dummy_MC to gotoAndPlay the correct movement animation.


case Key.RIGHT :
 switch (_global.posture) {
  case 1 :
   dummyorient = "right";
   _root.dummy_MC._x += speed;
   switch (_root.dummy_MC._x) {
    case "<450" :
     trace("< 450");
     _root.dummy_MC.gotoAndPlay("frame case 450");
     break;
    case "> 449 && < 550" :
     trace("> 449 && < 550");
     _root.dummy_MC.gotoAndPlay("frame case 449 550");
     break;
    case "> 549" :
     trace("> 549");
     _root.dummy_MC.gotoAndPlay("frame case 549");
     break;
   }
  break;

The rest of the code is working, the dummy_MC moves correctly.

This, however, isn’t working, neither if I use:


case (<450) :

What’s the way to do this using a switch action?
Logic tells me swtich actions are able to answer any possible condition, just like using IF, so the problem must be the syntax.

Thank you for reading.