It should be random(1,10) a comma not a - Let me know how it goes.
Edit: Also, as I observe I notice that random doesn't do 1,2,3 it is odd numbers like 1.123232, 2.2325252. So I personally like to round my randoms. Such as Round(Random(1,10)).
Edit 2: Also, as far as the image goes, you could also change the image itself (Have different images in different animation frames). So instead of Set position, you could set frame based on the number If you need help just let me know.