Help!
Below, I have a script that fades in when whatever is loading into it reached 100%. The alpha fade scripts (commented out) works well, but I would like to have it unblur into focus instead. So instead of alpha of 0 into an alpha of 100, I would like to try to get a BlurFilter of 16, to a BlurFilter of 0.
Any ideas?
Thanks
onClipEvent (enterFrame) {
var percentcheck = (this.getBytesLoaded()/this.getBytesTotal())*100;
import flash.filters.BlurFilter;
var bf:BlurFilter = new BlurFilter(16, 16, 3);
if (percentcheck == 100) {
if (bf.blurX<16) {
bf.blurX--;
bf.blurY--;
}
// if(this._alpha < 100){
//this._alpha +=5;
//}
} else {
this.filters = [bf];
//this._alpha = 0;
}
}