Posted By

kokikr on 02/08/09


Tagged

textmate scroller as3


Versions (?)

onScrollerDrag


 / Published in: Other
 

  1. private function onScrollerDrag(event:Event): void {
  2. var mapSP:* = sidePanel.getChildByName("mapSP");
  3. var scroller:* = mapSP.getChildByName("scroller");
  4. var per:Number = (scroller.y-gypos) / 195;
  5. mapListContainer.y = -per*(mapListContainer.height-277);
  6. }

Report this snippet  

You need to login to post a comment.