Hey thanks for your help. Here is a snippet of code I'm using to determine if a slot should be visible. The code is running inside an update function which also updated the state and skeleton.
for (var i = 0; i < this.skeleton.drawOrder.length; i++) {
var drawOrder = this.skeleton.drawOrder[i];
if (!drawOrder.attachment) {
drawOrder.createjsSlot.visible = false;
}
else {
drawOrder.createjsSlot.visible = true;
}
};
This issue it would seem is that if the attachment was attached my mapping it to a slot by skin placeholder then drawOrder.attachment is always null throughout the animation, even though there is a timeline in the state object relating to it, it never seems to be applied.
Could you please advise. Thanks