Codice HTML:
<Object ID=toolia ClassID=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F></Object>
<Script LANGUAGE="JavaScript" TYPE="text/javascript">
function LoadLocalAgent(CharID, CharACS) {
LoadReq = toolia.Characters.Load(CharID, CharACS);
return(true);
}
function merlino(){
var MerlinID;
var MerlinACS;
toolia.Connected = true;
MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
Merlin = toolia.Characters.Character(MerlinID);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Play("GetAttention");
Merlin.Play("Blink");
Merlin.speak("Ciao a tutti");
Merlin.Play("Blink");
Merlin.speak("Ciao");
Merlin.Hide();
}
</script>
<a href="javascript:merlino()">Guida</a>
Ciao!!!!