Forum Moderators: open

Message Too Old, No Replies

2 attributes for one object?

         

tonynoriega

9:19 pm on Sep 6, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



how can i make the "bg" object also fade to another color or fade to black and white?

i could not figure out how to give one object to attributes when i mouse over...

MovieClip.prototype.mouseOver = function() {
this.onEnterFrame = function() {
this.line._y -= (this.line._y-10)/4;
this.txt._y -= (this.txt._y-50)/4;
this.hover._alpha -= (this.hover._alpha-150)/6;
this.bg._yscale -= (this.bg._yscale-105)/6;
};
};