title: Pass easing function as variable in AS3
body: <p>I've been looking for some time now..
  Is is possible to pass easing function as variable in AS3?</p>
  
  <p>eg.</p>
  
  <pre><code>TweenLite.to(mcDelimiter, resizeTween, { x:(stageWidthHalf-(initStageWidthHalf-mcDelimiteri_X)), ease:Elastic.easeOut } );  
  
  TweenLite.to(mcBody, resizeTween, { x:(stageWidthHalf-(initStageWidthHalf-mcBody_X)), ease:Elastic.easeOut } );
  </code></pre>
  
  <p>... now if I at some point want to change "Elastic.easeOut" to something else I would have to change it at multiple parts of the code..
  Can it be done so I just pass it as a variable and then if I want to change it, do it only on one place?</p>
  
  <p>EDIT: ...also, 
  can for eg. <code>if(currentFrame == "FrameLabel")</code> somehow be done? ..meaning, can I pass the currentFrame label name as a variable?</p>
  
  <p>Thanks in advance for anwsers,</p>
  
  <p>Andrej</p>