Access constructor parameters from another function

So I usually use an object in the constructor to receive the parameters like new Class({param1:00,param2:0099,etc).

To be able to access those parameters from other functions inside the class I create an object, and copy it:


public class MyClass {
	var params = {};
	
	public function MyClass(p){
		params = p;
	}
	
	public function myFunction():void {
		trace(params.myVar);
	}
}

Is there a more elegant way to do this?