daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var dx : Number = ( -( _xmouse ) - ( container._x ) / 1.9);
  2.         var vx : Number = (dx * .2);
  3.         container._x += vx;
  4.        
  5.         var panelLen : Number = Data.CONTENT[0].PANELSET[ 0 ].PANEL.length;
  6.         for( var i : Number = 0; i < panelLen; i++ ) {
  7.            
  8.             var adx:Number = ( _xmouse - ( Stage.width / 2 ) );
  9.             var avx:Number = ( adx + ( Stage.width / 2 ) ) / ( Stage.width );
  10.             panelArr[i]._xscale = panelArr[i]._yscale = 100 - Math.floor( avx*25 );
  11.            
  12.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top