WaitForFrame2
[frame] → []

Notes

The original documentation is wrong. It should read "If the frame is not loaded [...]". If the frame is loaded, the following actions are executed. If the frame is not loaded, the following actions are skipped.

The SkipCount uses actions, not bytes. The actions are skipped using syntax only: it skips the linear sequence of actions following immediately the current action. The current action is not part of the count.

Adobe documentation

ActionWaitForFrame2

ActionWaitForFrame2 waits for a frame to be loaded and is stack based.

FieldTypeComment
ActionWaitForFrame2ACTIONRECORDHEADERActionCode = 0x8D; Length is always 1
SkipCountUI8The number of actions to skip

ActionWaitForFrame2 does the following:

  1. Pops a frame off the stack.
  2. If the frame is loaded, skip the next n actions that follow the current action, where n is indicated by SkipCount.

The frame is evaluated in the same way as ActionGotoFrame2.