Ho fatto questo:
Tooltip fatto in FLASH
qui il codice:
+SUL FRAME1 :
//Funzione per effetto alpha in/out da BTN
stop();
onEnterFrame = function () { if (alphax != 0) {alphaBtn();}};
function alphaBtn() {
if (alphax == 1 and tip._alpha<100) {
tip._alpha += 20;//VALORE ALTO =+VELOCE!!!
}
if (alphax == 2 and tip._alpha>0) {
tip._alpha -= 20;
}
}
//--->dove "tip" è il nome istanza del MC che viene draggato !
//----------------
//----------------
+Sul MC dragger "tip" che è il nostro TIP appunto :
//Nota:nel mc dragger vi è il dynamic text "tool".
onClipEvent (load) {
startDrag(this, true);
this._visible = 0;//invisibile all'inizio !
}
//Assegnazione nomi dei bottoni !!!
onClipEvent (load) {
_root.btn1 = "HomePage";//-i campi di testo avrànno var=btnX
_root.btn2 = "About Me";
_root.btn3 = "Mail";
}
//----------------
//----------------
+Sui BOTTONI :
on (rollOver) {
alphax = 1;
_root.tip._visible = 1;
_root.tip.tool = "messaggio tip";
}
on (rollOut) {
alphax = 2;
//_root.tip._visible = 0;//Scomparsa immediata!
_root.tip.tool = "";
}
on (release) {
<<METTI L'AZIONE>>;
}
//----------------
//----------------


COME POSSO FARLO COME QUESTO ESEMPIO
Tooltip in formato HTML solo per IE

L'ideale sarebbe creare un mc che si "resize" in funzione del testo magari preso da un file di testo esterno !
Spero di essere stato chiaro !
:master:

:rollo: