Adobe Animate.
compiledClipInstance.visible
Property; a boolean that sets visibility. Equivalent to the visible checkbox in the Display section of the Property Inspector for symbols.
The following example illustrates use of this property:
// change visible to false on currently selected symbol instance
fl.getDocumentDOM().selection[0].visible = false;