This demonstration uses three layers of varying speeds that updates with the mob's onMove event. For it to work perfectly, the background images would need to be the screen size. If you want to use larger or smaller ones, you'll have to modify the code. Have fun.
https://vylocity.com/ide/Konlet/parallax
https://vylocity.com/ide/Konlet/parallax