1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<script type="text/javascript">
var Agent,Merlin
// Creation de l'objet ActiveX
Agent = new ActiveXObject("Agent.Control");
Agent.connected=true;
//Charger l'agent
Agent.Characters.Load ("ID");
//Faire apparaitre l'agent
Agent.Characters.Item("ID").Show();
Merlin=Agent.Characters.Item("ID");
//jouer quelques Annimations
Merlin.Play('Announce');
Merlin.Play('GetAttention');
Merlin.Play('Greet');
Merlin.Play('Pleased');
//Parler (Infobulle)
Merlin.Speak(' !! Welcome to my web site for learning french language, i wish for you a good visit , me am gonna prepare something for food');
Merlin.Play('Processing');
WScript.Sleep(17000);
Merlin.Stop();
Merlin.Play('Surprised');
Merlin.Speak ("oh,guess it's time to goooo, ...");
Merlin.play('Hide');
WScript.Sleep(15000);
</script> |
Partager