-
fade array of mcs after all mcs alpha is 100
I have ten movie clips on stage.
Alpha is 0.
When you rollOver each mc, each mc alpha goes to 100 and stays 100.
i would like all mcs alpha going to 0 once all mcs alpha is 100.
import caurina.transitions.Tweener;
import flash.filters.GlowFilter;
I am using this code for the fading out part but does not seem to work and gives me current_mc alpha = undefined.
Been working on this for over a week, if anyone knows how to solve it, it would be greatly appreciated.
var btnArray:Array = new Array(btn1_btn, btn2_btn, btn3_btn);
var i = 0;
var current_mc;
var all_alphas_are_100 = true;
for (i=0; i< btnArray.length; i++){
current_mc = root[btnArray[i]];
trace ("current_mc alpha : " + current_mc._alpha)
if (current_mc._alpha != 100){
all_alphas_are_100 = false;
}
};
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|