Hi.
You can, for example, access a symbol or layer and toggle its visibility.
var that = this;
// advanced layers off
// you have to create a symbol and toggle its visibility
this.toggleSymbol.addEventListener('click', function() // toggleSymbol is the button's name
{
that.cover.visible = !that.cover.visible;
});
// OR
// advanced layers on
// when you use advanced layers, Animate turns layers into symbols
this.toggleLayer.addEventListener('click', function() // toggleLayer is the button's name
{
var l = that.getChildByName("layer"); // "layer" is the name of the layer you want to change
l.visible = !l.visible;
});
I hope it helps.
Regards,
JC