- Action Code:
0x32
- Stack:
1 → 1
- SWF version:
4
ord
builtin function.
Abstract AS2
@push(@ord(@pop()));
Adobe documentation
ActionCharToAscii
ActionCharToAscii converts character code to ASCII.
Field | Type | Comment |
ActionCharToAscii | ACTIONRECORDHEADER | ActionCode = 0x32 |
ActionCharToAscii does the following:
- Pops a value off the stack.
- Converts the first character of the value to a numeric ASCII character code.
- Pushes the resulting character code to the stack.