There should be a function Layer:move(speedX, speedY). I know it is possible to change the layer's movement by changing its fields, but for me, it would be easier to tell what's going on if I could set the speed in this way.
Also, I just have a question about the Lua language in general: If "move" is a function, is a:move(b,c) equivalent to move(a,b,c)?