TBaudon/Haxolotl — pull request #32 by Ynk33 (2014-02-23 10:38:26+00:00)
Title: add Scroller.hx : scrolling image with custom direction and custom speed

Usage :

var scroller:Scroller = new Scroller(atlas, "wanted_img", speed, move_on_x, move_on_y);
scene.add(scroller);
scroller.init();
scroller.play();

Can stop Scroller :

scroller.stop();

---

atlas must be a TextureAtlas containing the "wanted_img".
move_on_x and move_on_y can be any value. They are multiplied by the given speed to scroll the image.