Flash Buttons and After Effects CC Snow and CC Rain effects



// Friday - March 12, 2010 - Last class before spring break...
  
effects_btn.addEventListener(MouseEvent.CLICK, justDoIt);
  
snowing.visible = false;
raining.visible = false;
  
var uniURL:URLRequest = new URLRequest("http://www.cs.uni.edu/~jacobson/AE");
  
  
function justDoIt(evt:MouseEvent):void {
  	
	snowing.visible = false;
	raining.visible = false;
  	
	if (mouseY  <  95) 
	{
		snowing.visible = true;
	}
	else if (mouseY < 190)
	{
		raining.visible = true;
	}
	else if (mouseY > 285)
	{
		navigateToURL(uniURL, "_self");		
	}
}

  1. Video: How to create invisible Flash buttons, render CC Snow as FLV, etc. Up, Over, Down and Hit states. Instance names, Flash Actionscript 3.0, buttons that listen for CLICK events.
  2. The Dancing Campanile includes audio - the UNI Panther fight song is part of the movie clip symbol imported into Flash from After Effects.
  3. VIP: More extensive After Effects and Flash Actionscript 3.0 code/button example includes another version of the Dancing Campanile and links to other resources, including the After Effects and Flash tutorial from Layers magazine.
  4. Let spring break begin... Friday, March 12th, 2010... May March madness starlight shine brightly on UNI Panther basketball this spring break week!