Posted By


tetsulog on 06/16/08

Tagged


Statistics


Viewed 53 times
Favorited by 0 user(s)

rollover&rollout


/ Published in: ActionScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.