Set property to all children in container

I have sprites with two frames in a container. I need to reset all of them back to frame 1.

I’ve tried these two methods be neither work. How should this be done?

_this.letterset.setAll(‘frame’, 0);

_this.letterset.children.each(function(let) {
let.setFrame(0);
}, this);

container.each(function(sprite) {
  sprite.setFrame(0);
});

should work. What happens?

Also

container.each(Phaser.GameObjects.Sprite.prototype.setFrame, null, 0);

Thanks. I used:

container.each(function(sprite) {
sprite.setFrame(0);
});