ssipse
03-07-2007, 07:42 PM
I'm using this function to fade out some movie clips on press
function community() {
community = new Array(1, 2, 3, 6, 9, 11, 13, 16, 7);
for (z=0; z<community.length; ++z) {
i = community[z];
_root.cylinder["cylinder_small"+i].fadeout(30);
}
}
on(press){ community()}
It works fine but when movie clips are set back to _alpha 100 and I press that function again, and it doesnt work. It only works first time. Why?
function community() {
community = new Array(1, 2, 3, 6, 9, 11, 13, 16, 7);
for (z=0; z<community.length; ++z) {
i = community[z];
_root.cylinder["cylinder_small"+i].fadeout(30);
}
}
on(press){ community()}
It works fine but when movie clips are set back to _alpha 100 and I press that function again, and it doesnt work. It only works first time. Why?