The logical inequality operator (!=) returns false if two values are equal and true if they aren't.
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(5 != 6); // Displays: true trace(6 != 6); // Displays: false } } }