title: a class that modifies input data in AS3
body: <p>please help me to make a class that modifies input data.<br>
  <strong>For example</strong> doubles the input number:</p>
  
  <p>Main timeline:  </p>
  
  <pre><code>var n:Number=47;
  DoublerClass.double(n);
  trace(n); //I want 94 here!
  </code></pre>
  
  <p>The class:</p>
  
  <pre><code>package{
  class DoublerClass{
  
  public static function double(input:Number){
   //a code that doubles input at my main timeline
  
   }  //end function
  
  }
  }
  </code></pre>
  
  <p>TweenLite or other same things do what I want. but I can't read that long codes or I may not understand them.  </p>
  
  <p>I appreciate your helps.  </p>
  
  <p>**EDIT</p>
  
  <p>I dont want a class that <strong>RETURNS</strong> the multiplied value.<br>
  I want a class that directly modifies.</p>