Results 1 to 2 of 2
  1. rmxdave's Avatar
    Posts
    87 Posts
    Global Posts
    88 Global Posts
       #1  
    Easy question, I think (I just cannot find the answer for the life of me). If I want to detect when the bottom of the scene is reached (in order to call a function), what kind of listener is that?

    Thanks!

    EDIT: Nevermind, I'm blind...
    Dialogs and Containers €“ Palm Developer Center
    Last edited by rmxdave; 01/27/2010 at 09:31 PM.
  2. rmxdave's Avatar
    Posts
    87 Posts
    Global Posts
    88 Global Posts
       #2  
    Alright so I tried out the samples on the link I posted above and none of it works. It looks like the code is wrong.
    Code:
    var scroller = this.controller.sceneScroller;
     scroller.addListener(this);
    Performing scroller.addListener(this) causes the script to stop. I think they meant to say addEventListener, but doing that I still do not get the "moved" function to get called.

    Does anyone have some working code to detect when the scene reaches the bottom? This is not the first time Palm's documentation has been incorrect for me...

Posting Permissions