0 Replies Latest reply on Sep 20, 2009 2:32 AM by gutmanis

    Problem with  scrollbar

    gutmanis

      Hello,am sorry for my language ,it isnt so good,anyway i hope some help me.

       

      Its flash dynamic gallery .In my flash movie i have many layers,but i need all this stuff put in one new movie clip,i did it and i call it --> rootMC, after that scrollbar stops working.but anythink else works, its a problem with flash levels ? ac2 :

       

      onEnterFrame = function()
      {
          x_mouse = _xmouse;
          y_mouse = _ymouse;
         
          if( x_mouse > tn_group._x - 10 and x_mouse < tn_group._x + tn_group._width + 10 )
          {
              y_speed = -(y_mouse - y_middle ) / 50;

              if( y_mouse > y_middle )
              {
                  if( tn_group._y > tn_area._height - tn_group._height + tn_area._y )
                      tn_group._y+=y_speed;
              }
              else
              {
                  if( tn_group._y < tn_area._y )
                      tn_group._y+=y_speed;
              }
          }
      }

       

       

      please help