Okay, I’m not sure exactly how to pull this off.
In my FLA are three buttons. The first two, the ones I’m having difficulty setting up, I want to cause two MCs, qwerty and zxcv, to replace each other. The third (big ups to actionAction for helping out with this) controls the transparency of whatever MC happens to be loaded, cycling from 0>100>50% alpha.
I’m not sure how to set it up.
Here’s the code for the third button (frame1, line1):
this.asdf.onRelease = function() {
if (qwerty._alpha < 100){
qwerty._alpha+=50;
}
else{
qwerty._alpha=0;
}
}
Should I replace the current qwerty with a container mc, use attachmovieclip and target the container’s alpha value? My syntax is weak so I appreciate the help.
FLA attached.