it was a movieclip.

BUT i´ve changed to Sprite and it worked !

should I keep the nav statement there, or should i move it to the constructor or another function?

does the code runs slow there too?


Code:
		
	public class Home extends Sprite
	{
        private var nav:Sprite= new Sprite();
thanks!