track .key .frame .event .call  (  Action ,  Frame ,  Procedure  )  
                                               
Description :

This instruction assigns an event to the current key.

Parameters :

  • Index of the action. Valid in the range [1, number of actions].
  • Frame of the sprite, valid in the range [1, number of frames].
  • Name of the procedure managing the events.

Notes :


For objects with frame animation (video, animated GIF), the event will be assigned to a specific frame.

For Sprites, the event will be assigned to a specific frame and to a specific action.

There is no limit in the number of events that can be assigned to a specific key.

The procedure managing the events takes only one parameter: the sequence ObjectID.

The current key gets defined with the instruction track.key.set ().

Examples :