function fnName(myVar){ trace(this.param) // output - Hello } var param1:String = "Hello" mcClip.param = param1 mcClip.onRelease = fnName;