2 Replies Latest reply on Aug 3, 2007 4:47 PM by clarntoon

    scrollpane position

    tlm_scripter
      I am trying to do something very straightforward, just change the vertical position of the content in my scroll pane so that it aligns the way I'd like it to. Everything loads properly, but for some reason when I try to set it through the vPositon property nothing happens. I have also tried setScrollPosition. Please help!

      This is my code: (the name of my scrollpane is sdisplay and my content is display2)
      _root.sdisplay.sdisplay.setScrollContent(_root.display2);
      _root.sdisplay.sdisplay.vPosition=100;
      _root.sdisplay.sdisplay.setDragContent(false);
      _root.sdisplay.sdisplay.setStyleProperty("background", 0xEBFFE6);
      _root.sdisplay.sdisplay.refreshPane();