06-12-2005, 13:25
|
|
|
חבר מתאריך: 29.11.05
הודעות: 35
|
|
שלום!
יש לי קוד שעושה אנימציה של fade in/fade out עכשיו מה שאני רוצה זה את שורת הקוד שתגדיר לו לעשות fade in אבל רק עד 70% שקיפות לא 100%.
הקוד הוא:
קוד:
function fade(speed){
_root.mc._alpha+=speed;
if(_root.mc._alpha<=70){
clearInterval(callFadeOut);
}
}
_root.mc.onRollOver=function(){
clearInterval(callFadeOut);
callFade=setInterval(fade,50,1);
_;
}
_root.mc.onRollOut=function(){
clearInterval(callFade);
callFadeOut=setInterval(fade,50,-1);
}
_____________________________________
Your signature did not follow Fresh's signatures policy, therefore it was automatically erased. Please see the E-Mail which has been sent to you, to learn how to fix this.
|