AccelStepper library not working.

Im trying to move 2 stepper motors at the same time using the AccelStepper library but it doesnt work. Im using 2 l293d’s.

#include <AccelStepper.h>

AccelStepper stepper1; // Defaults to 4 pins on 2, 3, 4, 5
AccelStepper stepper2 (7,8,9,10);
void setup()
{  
   stepper1.setMaxSpeed(400.0);
  stepper1.setAcceleration(100.0);
  stepper2.setMaxSpeed(400.0);
  stepper2.setAcceleration(100.0);
}

void loop()
{  
    stepper2.moveTo(1000); // where m2val is a variable I've received from processing
    stepper2.run();
    stepper1.moveTo(1000); // same for m1val
    stepper1.run();
}

Only stepper1 moves, the other stepper does nothing.

The first thing to try is to swap the two motors to see if the problem is the motor or the code. If the problem moves with the motor it's probably the motor.