getFrameByName(key, name, cache) → {Phaser.Frame}
Get a single frame out of a frameData set by key.
Parameters
Name Type Argument Default Description key string Asset key of the frame data to retrieve from the Cache. name string The name of the frame you want to get. cache integer <optional> Phaser.Cache.IMAGE The cache to search. One of the Cache consts such as Phaser.Cache.IMAGE or Phaser.Cache.SOUND.
Returns
Phaser.Frame - The frame object.
Source code: load