build 723 - missing methods for newScrollView

I can’t get the methods scrollToX or scrollToY or getScrollPosition to work - they’re documented here. http://developer.anscamobile.com/reference/index/scrollview-after-build-2011715

Are they missing?

Thanks [import]uid: 93610 topic_id: 20285 reply_id: 320285[/import]

I have the same problem, i no longer can use scrollToY method. [import]uid: 106616 topic_id: 20285 reply_id: 79384[/import]

Hi guys,

I’ve filed a bug report with Ansca for this on 19-Jan. It is case #11645 (ScrollView implemented API different from all versions of API documentation).

I haven’t had any replies on this despite my update request today. If any of you could write to Ansca team about as well so that we can get this to go through ASAP…

THanks! [import]uid: 23043 topic_id: 20285 reply_id: 82497[/import]

Hi. I will get this investigated.

If i haven’t replied to this thread two hours from now please bump it to remind me (im out of the house for another hour ish) [import]uid: 84637 topic_id: 20285 reply_id: 82689[/import]

==AMENDED==
Hi Danny, Thanks for checking on that? Any findings ? All I’m trying to achieve is to have my scroll VIEW(not bar) to scroll to a particular position without the scrolling animation effect.

So, with the current implementation, I’m using the “scrollToPosition” method on my scroll view object, but then, this method does not appear to accept a parameter to set the scrolling effect time to 0.

Any idea or workaround ? [import]uid: 23043 topic_id: 20285 reply_id: 82730[/import]

Just passed this onto the team. You should have a reply here shortly.

Thanks! [import]uid: 84637 topic_id: 20285 reply_id: 82752[/import]

Cool, thanks a lot Danny! [import]uid: 23043 topic_id: 20285 reply_id: 82757[/import]

Hi Danny, has anyone been able to look for a workaround on what I’m trying to achieve ? I’d appreciate an update from whoever is dealing with the bug report case [import]uid: 23043 topic_id: 20285 reply_id: 82939[/import]

Posted on another thread

http://developer.anscamobile.com/forum/2012/01/26/scrollviewscrolltox-not-working [import]uid: 100222 topic_id: 20285 reply_id: 83943[/import]

Hi everyone. There is a mismatch in the documentation. scrollToX and scrollToY are internal methods that are not publicly available. Instead, you use scrollToPosition (no need to wait for a daily build, it’s already in there).

Here’s the syntax:

scrollView:scrollToPosition( [x, y, timeInMs, onComplete] )[/code]All arguments are optional. If you want to scroll only in the X-direction, you can set y to equal the current y-value of the scrollView, or just set it to nil (and vice-versa for y-direction scrolling). You can also scroll both directions simultaneously.I'm updating the documentation right now to remove the scrollToX and scrollToY methdods and replace them with scrollToPosition. [import]uid: 52430 topic_id: 20285 reply_id: 84481[/import]

That’s Fab! Thanks a lot! The third argument actually does control the scroll time, and was able to set it to 0 which was an absolute must in the case of my app!

You can consider bug report #11645 solved ! [import]uid: 23043 topic_id: 20285 reply_id: 84518[/import]