What would the AS be to put a border around a Thumbnail on Mouse over? The thumbnail will be dynamic as it is being loaded via XML… If anyone has any links, I’d really appreciate it… Thanks.
Brian
What would the AS be to put a border around a Thumbnail on Mouse over? The thumbnail will be dynamic as it is being loaded via XML… If anyone has any links, I’d really appreciate it… Thanks.
Brian
I suppose they are loaded dynamically and their registration point thus to be on the top-left corner ?
MovieClip.prototype.makeBorder = function(){
this.createEmptyMovieClip("border",7453);
this.border.lineStyle(0,0x000000,100);
this.border.lineTo(this._width,0);
this.border.lineTo(this._width,this._height);
this.border.lineTo(0,this._height);
this.border.lineTo(0,0);
this.bordered = true;
}
MovieClip.prototype.removeBorder = function(){
this.border.removeMovieClip();
this.bordered = false;
}
It worked perfectly! Thank You Voetsjoeba.
:: Copyright KIRUPA 2024 //--