StackSwap

Abstract AS2

@t0 = @pop();
@t1 = @pop();
@push(@t0);
@push(@t1);

Adobe documentation

ActionStackSwap

ActionStackSwap swaps the top two ScriptAtoms on the stack.

FieldTypeComment
ActionStackSwapACTIONRECORDHEADERActionCode = 0x4D

ActionStackSwap does the following:

  1. Pops Item1 and then Item2 off of the stack.
  2. Pushes Item1 and then Item2 back to the stack.