dcell
April 22nd, 2003, 09:57 AM
I have 2 movieClips that I want to fade.
mc 1 fades out while mc2 fades in. I want to do it in AS to keep my file size down, 'cause I will be having quite a few of this happing.
I know how to have one mc fade in using:
(I know this is a fade in and I can fadein/out individually)
speed = 10;
bigCalendar_mc.onEnterFrame = function() {
if (this._alpha<100) {
this._alpha += speed;
} else {
delete this.onEnterFrame;
}
};
But my brain is hurting trying to figure out how to get the two crossfading.
Many thanks!!
Dcell
mc 1 fades out while mc2 fades in. I want to do it in AS to keep my file size down, 'cause I will be having quite a few of this happing.
I know how to have one mc fade in using:
(I know this is a fade in and I can fadein/out individually)
speed = 10;
bigCalendar_mc.onEnterFrame = function() {
if (this._alpha<100) {
this._alpha += speed;
} else {
delete this.onEnterFrame;
}
};
But my brain is hurting trying to figure out how to get the two crossfading.
Many thanks!!
Dcell