Question : New to OOP in AS3 What am i doing wrong on a simple event listener?

What am i doing wrong? New to OOP and AS3
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
package{
	import flash.display.MovieClip;
	import flash.events.*;
	public class index extends MovieClip {
 
glassy_group.addEventListener(MouseEvent.MOUSE_OVER, onGlassyOver);
glassy_group.addEventListener(MouseEvent.MOUSE_OUT, onGlassyOut);
 
public function onGlassyOver (evt:MouseEvent):void{
	evt.target.alpha = 0.5;
	}
	
public	function onGlassyOut (evt:MouseEvent):void{
		evt.target.alpha = 1;
	}
}
}
Open in New Window Select All

Answer : New to OOP in AS3 What am i doing wrong on a simple event listener?

As far as good ActionScript books go, check out Essential ActionScript 3.0 by Colin Moock. It is a very good book on AS3. In fact, it is THE book on AS3. The guy wrote it at the behest of the AS3 devel team, and was in close contact with them during the whole process. It is the second best reference I have come across, next to the Adobe documentation itself. Can be purchased reputably on Amazon. I wore through my copy, so I downloaded the PDF version.
Random Solutions  
 
programming4us programming4us