codice:
mc.onRollOver = function() {
if( this.textformat == undefined ) {
this.textformat = new TextFormat();
this.textformat.font = "_sans";
this.textformat.size = 10;
this.textformat.color = 0x454545;
}
a = "Eempio di ToolTip, vediamo di scriverlo più lungo !!!";
this.createTextField( "testo", 1, this._xmouse+20, this._ymouse-20, 0, 0 );
this.testo._alpha = 0;
with( this.testo ) {
background = true;
backgroundColor = "0xFFFFCC";
border = true;
borderColor = "0xF3F300";
autoSize = true;
textColor = "0x000000";
text = a;
wordWrap = true;
multiline = true;
_width = 150;
}
this.testo.setTextFormat( this.textformat );
}
mc.onRollOut = function() {
this.testo.removeTextField();
}
Originariamente inviato da arn
Ed inoltre non è possibile dirgli che il border deve essere più grande del 10% ?..così rimane troppo attaccato !!!
cosa intendi per border ? :master: