Trouble updating macromedia flash player
Here is an example: Constant pool can hold up to 65535 strings (in theory).These can be addressed later in your actions with 1 byte (first 256 strings in the pool) or 2 byte (the rest of the pool) reference.
In fact, if at least one variable is used twice, the pool is created for all strings in the block.
The constant pool defined at the start of the frame is valid for every function in this frame.
I've never seen constants defined in functions in disassembly. Although Flash itself never redefines constant pool in the middle of the action block, theoretically you're allowed to do this.
The code above is the visual representation of the bytecodes, created by Flasm.
I'll call actions inside of a frame or event action blocks.
In Flash IDE you don't see the bytecodes and don't have to worry about it.