Question
How to make layers visible/invisible
We have a flash project, and it is related to some
modifications of the text.
Unfortunately, I'm not working only for myself, I'm just a coder. Designer prepared all the staff, everything in MC as needed, but inside movieClips there are more than 10 layers, and sometimes not all of them needed to be shown.
Unfortunately, objects in that movieClips are just drawings.
Because, there are hundreds of that staff, is it possible to make the total layer invisible/visible programmatically?
("make everything mc" is not a solution 😞 )
Digging in help, found this:
The following example makes all objects in the first layer invisible:
fl.getDocumentDOM().getTimeline().layers[0].visible = false;
but it is working only in mx version. Need something similar in as3 or at least as2.
Unfortunately, I'm not working only for myself, I'm just a coder. Designer prepared all the staff, everything in MC as needed, but inside movieClips there are more than 10 layers, and sometimes not all of them needed to be shown.
Unfortunately, objects in that movieClips are just drawings.
Because, there are hundreds of that staff, is it possible to make the total layer invisible/visible programmatically?
("make everything mc" is not a solution 😞 )
Digging in help, found this:
The following example makes all objects in the first layer invisible:
fl.getDocumentDOM().getTimeline().layers[0].visible = false;
but it is working only in mx version. Need something similar in as3 or at least as2.
