interfacer
11-24-2004, 06:19 AM
ok...i know i'm doing this wrong, but i dont understand what i've missplaced. if anyone could help me out :)
i have a button, and here is the as i have on the button:
on(rollOver){
while(this.alpha<50){
this.alpha=this.alpha+5;
}
}
on(rollOut){
while(this._alpha>0){
this._alpha=this._alpha-5;
}
}
all i want it to do is for the alpha to go to 50 on the rollover, and back to 0 on the rollOut. am i using the wrong thing? do i need it to be an MC? a Button? a Graphic? do i need to give it a timeline? help! :) thanks!
i have a button, and here is the as i have on the button:
on(rollOver){
while(this.alpha<50){
this.alpha=this.alpha+5;
}
}
on(rollOut){
while(this._alpha>0){
this._alpha=this._alpha-5;
}
}
all i want it to do is for the alpha to go to 50 on the rollover, and back to 0 on the rollOut. am i using the wrong thing? do i need it to be an MC? a Button? a Graphic? do i need to give it a timeline? help! :) thanks!