Variables velocityX and velocityY are instance variables.
Click on your sprite, you'll see "Instance variables" tab on the left panel.
Also, I should add that the above mentioned tutorial describes very basic movement. It helps to understand how things work, but you might get much better results with Bullet behavior or Sine or Car or Particles or lots of other behaviors/plugins.