7 Replies Latest reply on May 15, 2009 11:52 AM by kglad

    Adding a function once a scrollpane has loaded

    99benns

      Hi

       

      I have a scrollpane but need to put the scrollbar on the left. I've used the code:

       

      _root.scrollPane.vScroller._x = 0;

       

      This only works once the scrollpane has loaded. Could anyone help me with setting up a function/listener? I'm useless with listeners so any help would be appreciated. I've tried on(complete) with no success. I've also heard an "added" event listener may be the answer, but I've not managed to succesfully set that up.

       

      Thanks

       

      Simon