flash help!!
flash help!!
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- Anarchitect0
rewind
ie:
//#1
loop = function(obj, alpha){
obj._alpha += (alpha-obj._alpha)/4
if(Math.abs(alpha-ob j._alpha) < 1 ){
clearInterval(loopint)
obj._alpha = alpha
}
}//#2
fade = function(obj, alpha){
clearinterval(loopint)
loopint = setInterval(this, "loop", 30, obj, alpha);
}//usage - fade to 0
fade(myMC,0);