Undefined method of a class

That’s my “Rules.as” class file (which is inside a folder called Classes)


package
{
	import flash.display.MovieClip;
	
	public class Rules extends MovieClip
	{
		
		var selectedCards:Array;
		var test:uint;
		
		public function Rules()
		{
		}
		
		public function selectedHand(card):uint
		{
			selectedCards.push(card);
			test=2;
			return test
		}
		
	}	
}

Inside fla file, on timeline, I’ve got the following code (inside a method):


var lol:uint;

lol=selectedHand(players[playerID][cardID]);

trace(lol);

I get: Call to a possibly undifined method selectedHand

(at the top of fla code I have:

import Classes.Rules;

)

…Can anyone help? Why selectedHand is undifined? How code should be?