- Action Code:
0x18
- Stack:
1 → 1
- SWF version:
4
Abstract AS2
@push(~~@pop());
Adobe documentation
ActionToInteger
ActionToInteger converts a value to an integer.
Field | Type | Comment |
ActionToInteger | ACTIONRECORDHEADER | ActionCode = 0x18 |
ActionToInteger does the following:
- Pops a value off the stack.
- Converts the value to a number.
- Discards any digits after the decimal point, resulting in an integer.
- Pushes the resulting integer to the stack.