I've encountered this bug while working on my game.
When you have more than 1 Layer and a Sprite assigned with the ScrollTo Behavior it won't zoom in on the object but instead zoom to the center of the canvas :(
Here is a .capx demonstrating the problem.
If you delete the GUI-layer it will work as it should.
http://dl.dropbox.com/u/45711709/LayerScaleScrollToBug.capx
Develop games in your browser. Powerful, performant & highly capable.
Could someone atleast Check my capx to See if its really a Bug or if i just fucked up? :D
PS typing on my tablet and To lazy to fix the caps :-)
Not a bug: you need to set 'unbounded scrolling' to 'yes' otherwise the window cannot scroll anywhere since you've set the layout to be the same size as the window.
OK that seems to work, however the whole gamearea is scaled as it seems and not just the active layer :(
EDIT:
Working fine now... should have set the layer scalerate to 0 :D