Or

Low-level logical or operator.

The short-circuiting semantics of the ActionScript operator || mus be handled during compilation.

Abstract AS2

@t0 = @pop();
@push(!!(@pop() || @t0));

Adobe documentation

ActionOr

ActionOr performs a logical OR of two numbers.

FieldTypeComment
ActionOrACTIONRECORDHEADERActionCode = 0x11

ActionOr does the following:

  1. Pops value A off the stack.
  2. Pops value B off the stack.
  3. Converts A and B to floating-point; non-numeric values evaluate to 0.
  4. If either of the numbers is nonzero, true is pushed to the stack for SWF 5 and later (1 is pushed for SWF 4); otherwise, false is pushed to the stack for SWF 5 and later (0 is pushed for SWF 4).