Class function not working

I am trying to load differn’t movies from external swf’s and this code dosn’t seem to work, im sure it’s something simple. Any help would be great.

.fla code

getNextScene(1);

.as code


class basicFunctions{
	var sceneNo;
	public function getNextScene(sceneNo){
		_root.loadMovie("test" + sceneNo + ".swf");
	}
}