Bonjour, alors voila: j'ai un clip 'symbol'
et un autre clip 'mc_bgnewthing' dans lequel jimporte une image prealablement
je voudrait que quand je rollover 'symbol' l'image importee (dans mc_bgnewthing) devienne floue, et quelle redevienne nette quand je rollout de 'symbol'....
Si vous pouvez m'aider....
flouMax = 25;
qualite = 3;
coeffRollOver = 0.8;
coeffRollOut = 0.8;
MovieClip.prototype.easing = function() {
var difference = this.flouCible-this.flou;
this.flou += this.coeffRollOver*difference;
var filtre = new flash.filters.BlurFilter(this.flou, this.flou, qualite);
this.filters = [filtre];
if(Math.abs(difference) < 0.1) {
delete this.onEnterFrame;
this.flou = this.flouCible;
var filtre = new flash.filters.BlurFilter(this.flou, this.flou, qualite);
this.filters = [filtre];
}
};
mc_bgnewthing.flou = mc_bgnewthing.flouCible=flouMax;
mc_bgnewthing.loadMovie("newthing.jpg");
symbol.onRollOver = function() {
mc_bgnewthing.easing();
mc_bgnewthing.flouCible = floumax;
mc_bgnewthing.coefficient = coeffRollOut;
mc_bgnewthing.onEnterFrame = easing;
};









