_alpha desde codigo


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

_alpha desde codigo -- LG


Copy this code and paste it in your HTML
  1. a = 1;
  2. flg = 0;
  3. cuad.onEnterFrame = function () {
  4. this._alpha = a;
  5. if (flg == 0) {
  6. var velocidad = 2
  7. a += velocidad
  8. if (a > 100) {
  9. flg = 1;
  10. this.onEnterFrame = null
  11. }
  12. }
  13. trace(a)
  14. };
  15. // cuad = mc

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.