Decrement

Abstract AS2

@push(@pop() - 1);

Adobe documentation

ActionDecrement

ActionDecrement pops a value from the stack, converts it to number type, decrements it by 1, and pushes it back to the stack.

FieldTypeComment
ActionDecrementACTIONRECORDHEADERActionCode = 0x51

ActionDecrement does the following:

  1. Pops the number off of the stack.
  2. Pushes the result on to the stack.