title: single scroll bar for multiple lists boxes. flash CS6
body: <p>I have been having issues getting a single scrollbar to work with multiple list boxes. I wanted something similar to how Excel does it visually
  i ended up using a slider bar and using the value of this bar to change the selectedIndex of the list box. This did not work however.</p>
  
  <p>This is the code i was using:</p>
  
  <pre><code>import flash.events.MouseEvent;
  
  slider1.addEventListener(MouseEvent.MOUSE_OVER,scrolling);
  function scrolling(evt:MouseEvent)
  {
  trace(slider1.value);
  slider1.maximum=InstanceName_1.length;
  InstanceName_1.selectedIndex=slider1.value;
  InstanceName_2.selectedIndex=slider1.value;
  InstanceName_3.selectedIndex=slider1.value;
  InstanceName_4.selectedIndex=slider1.value;
  }
  </code></pre>
  
  <p>with InstanceName_n being the different lists i used.</p>
  
  <p>Thank you so much in advance!</p>