View Single Post
Old 06-25-2004   #3 (permalink)
BlodoPKNZ
Red Dawn
 
BlodoPKNZ's Avatar
 
Join Date: May 2004
Location: Eastern Europe
Posts: 302

Hmm cant this be done with alpha and actionscript?

In the mc you want to fade out write in the actions:
Code:
onClipEvent (enterFrame) {
//this number is the speed of fading
	this._alpha -= 8;
//this checks if the image has faded out so it can move to a static frame
//you can usually just change gotoandstop with this._alpha == 0 to stop the loop
//or if youre feeling lucky do it with variables
	if (this._alpha <= 0) {
		gotoAndStop(3);
	}
}
Make a second frame and in the frame actions write
Code:
GotoAndPlay(1)
Be sure to make the picture you want to be seen after this one has faded on a separate layer lower than the layer with the fading picture
__________________

Last edited by BlodoPKNZ; 06-25-2004 at 06:52 AM.
BlodoPKNZ is offline