Hi all,
I observed a behavior in Sparrow 2.0 that doesn't make much sense to me. I created a scene with a simple parallax effect (mountains in the background), and in the foreground there's a static object.
In order to simulate the parallax, I reuse the SPDisplayObjects: when the object leaves the screen, which happens when the SPTween calls the onComplete block, I just update the X value so that it matches the current, on-screen image that is moving, thus creating the infinite horizontal movement.
Anyway, I'm not adding new objects to the stage, but when this transition happens, the image that had its X value changed now appears in front of the static object. It is as if I had called a [stage addChild:object], which I'm not.
The simple fact that I create an SPTween to an existing on-screen object changes its viewing index? Any ideas?