Posted By

tetsulog on 06/16/08


Tagged

tetsulog


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jeeStyle


rollover&rollout


 / Published in: ActionScript
 

  1. import mx.transitions.Tween;
  2. import mx.transitions.easing.*;
  3. my_mc.onRollOver = function()
  4. {
  5. new Tween( this, "_xscale", Back.easeOut, this._xscale, 75, .5, true );
  6. new Tween( this, "_yscale", Back.easeOut, this._yscale, 75, .5, true );
  7. }
  8. my_mc.onRollOut = function()
  9. {
  10. new Tween( this, "_xscale", Back.easeOut, this._xscale, 65, .5, true );
  11. new Tween( this, "_yscale", Back.easeOut, this._yscale, 65, .5, true );
  12. }
  13. my_mc._xscale = 65;
  14. my_mc._yscale = my_mc._xscale;

Report this snippet  

You need to login to post a comment.