var newX:Number = ((Stage.width/2)-(400/2)) >> 0; var newY:Number = ((Stage.height/2)-(400/2)) >> 0;
Someone included these lines in a script having to do with positioning a graphic on stage. I believe this centers the graphic on stage, but the part that I don’t understand is the “>>”. Why was the bitwise shift right operator used in this script? What exactly does it do?
please make me smarter