The problem is that you are passing a string to the axlGetParam procedure.Originally posted in cdnusers.org by natebizu
Because "x" is inside of double quotes, you are passing a string "x" rather than the evaluation of the variable x.
use sprintf, and I would check to make sure that x is an integer:
axlGetParam(sprintf(nil "paramTextBlock:%d" x))
This should return the param or nil (when invalid input).