I just realized that ScrollRect behaves different between Adroid and HTML5. I realized this while I’m trying to create a scrolling list of sprites.
#if js tmpR.y -= delta / 2; compContainer.y += delta/2; compContainer.scrollRect = tmpR; #else tmpR.y -= delta / 2; compContainer.scrollRect = tmpR; #end
As you can see in HTML5 you have to move the sprite that contains all the sprites and then move oposite the scroll rect while in Android you should simply modify “y” of the rect.
Would be great if someone can check and document the behaviour of other platforms. so we can complete the documentation for easy of use.