Hi guys, I was hoping someone could help me with my question.
I don't have much experience using Flash (CS6) so I'm learning it while working on a little project. Basically I'm making an animated cartoon character. I made all the key features (head, torso, arms, legs and about a dozen of mouths) in individual symbols. Now, here's my question: Inside of the "Head" symbol I have a folder with all the different Mouth symbols in seperate layers, and I have all but one of the hidden at a time. However, if I go back to my scene, all the mouth symbols are showing on the face of my character.
Is there an easy way to actually make layers inside of a symbol hidden, or is there a better way to do this?
For each layer, select all contents and create a movieclip symbol. Then give each an instance name. Then you can address the visibility programmatically by calling instanceName.visible = false;
I'm assuming you probably have a bunch of mouth layers. If you're using the timeline for your animation, you could put actionscript on each frame that you want the mouth to change on so when it plays it hides all but the active mouth instance. Something like:
If you have a lot of mouth symbols, you could add all of the names into an array and create a HideAll function so that you can use a loop to change all of them to false. Then set just the one you want to true.