3 Replies Latest reply on Oct 6, 2010 7:55 PM by kglad

    resizing movieclip with scrollbar text

    pnsrinivasreddy

      Hi Experts,

       

      Here I am trying to resize a movie clip which contains some dynamic text with scrollbar in a swf using mouse. I am able to resize the movie clip using "setProperty". But unable to control the behaviour of the scrollbar. when I am increasing the size of the movie clip the scrollbar should automatically disappear. But I am unable to do so. Can anyone help me??

       

      Here is the link of the swf I am working on:

       

      http://qs1252.pair.com/monarchm/test1/

       

      Here is the code I have used for the resizer:

       

      if (this._x <= 20) {
          setProperty(_root.cont.frames, _width, 20);
          setProperty(this, _x, 20);
      } else {
          setProperty(_root.cont.frames, _width, this._x);
      }
      if (this._y <=20) {
          setProperty(_root.cont.frames, _height, 20);
          setProperty(this, _y, 20);
      } else {
          setProperty(_root.cont.frames, _height, this._y);
      }

       

      Help me

      srinivas