# Flash Opcodes

There are many opcodes in Flash, and Gnash implements the majority of them up to version 7 of the Flash format. Gnash will print an "unimplemented" message whenever it sees an opcode that isn't implemented. If you try to play a movie and it doesn't appear to be executing properly, run `gnash` or `gprocessor` with the `-v` option to see the debug messages. You can also use the `-w` option to `gnash` to write the debug messages to disk.

## Unimplemented Opcodes

As of March, 2006, these are the few opcodes that haven't been implemented for full SWF version 7 compliance. SWF version 8 adds a few more that currently aren't listed here.

0x2A Throw

  Throw an error that can be caught by a `catch` statement.

0x2C Implements

  Specifies that a subclass must define all the derived methods.

0x69 Extends

  Define a subclass of a class.

0x55 enum_object

  Push the name of each member of an enum on the stack.

0x8F Try

  Protect a block of code during which an error may occur.

0x53 new_method

  Get the name of a method.

0x31 md length

  Get the length of a multi-byte string.

0x35 md substring

  Get a substring from a multi-byte string.

0x37 md chr

  Get a single character from a multi-byte string.

0x3A delete

  Delete an object.

0x45 get target

  Return the path to a sprite.