5 Replies Latest reply on Aug 7, 2006 7:19 AM by kglad

    scrollPane.setSize doesn't work! Why?

    davidesieb
      i there, this musn't be a tough issue, but, still, I can't make it to work.
      On a flash 8 movie (as 2.0), I'm trying to dynamically set the size of a scrollPane component that's on the stage (not created via AS, could it be the reason?) and in which I dynamically load different mc's.

      All the other properties or method work, such as

      Code:
      mcScrollPane._y = vStartPosY;
      mcScrollPane._x = 0;
      mcScrollPane.redraw(true);

      but no way with the setSize method:
      Code:
      mcScrollPane.setSize(400, 1000);
      this simply won't do anything...

      Did I miss the point somewhere? Please help me, this is getting on my nerves...

      Tks!