zoukankan      html  css  js  c++  java
  • 一个动画脚本

    <html>
    <head>
    <title>
    动画
    </title>
    </head>
    <body>
    <SCRIPT language=JavaScript>            
    function crml(nid)             
    {             
    try             
    {             
    nid=new ActiveXObject("Agent.Control.2");             
    nid.Connected = true;             
    nid.Characters.Load("");             
    return nid;             
    }             
    catch (err)             
    {             
    return false;             
    }             
    }             
    chplay();            
                
    function chplay ()             
    {             
    if (ml=crml ("ml"))             
    {             
    var MerlinID;             
    var MerlinACS;             
    Merlin = ml.Characters.Character(MerlinID);             
    Merlin.MoveTo(230,380);            
    Merlin.Show();             
    Merlin.Play("Explain");             
    Merlin.Play("Announce");             
    Merlin.Speak("您好啊!欢迎您来到桦山涧!");             
    Merlin.Play("Gestureright");             
    Merlin.Play("Pleased");            
    Merlin.Speak("国庆中秋已经结束了!!!");
    Merlin.Play("Pleased");            
    Merlin.Speak("您的假期是否还过的愉快呢!!!嗯!一定是很不错的啊!");                           
    Merlin.Play("Idle1_1");            
    Merlin.MoveTo(630,320);            
    Merlin.Show();            
    Merlin.Play("Surprised");             
    Merlin.Speak("我受您朋友的委托给您送来迟到的祝福!!!");            
    Merlin.Play("Read");            
    Merlin.Speak("祝您节日里有新的收获!!!节后快乐依常!");             
                
    Merlin.Play("Read")            
    Merlin.Play("GestureUp");            
    Merlin.Speak("心想事成  万事如意!!!");             
    Merlin.Play("DontRecognize");            
    Merlin.Speak("最后记得也把此发给您的朋友!送去您美好的祝愿!顺便叫他们来网上转转!!");            
    Merlin.Play("DontRecognize");             
    Merlin.Play("Greet");            
    Merlin.Speak("看完记得去许个愿哦!愿你美梦成真!别忘了给俺留个言儿啊!");            
    Merlin.Play("Greet");            
    Merlin.Hide();             
    }             
    }                                     
    </SCRIPT>
    </body>
  • 相关阅读:
    vue-quill-editor的自定义设置字数长度方法和显示剩余数字
    element-ui表格show-overflow-tooltip="true",鼠标移上去显示的宽度设置
    vue + elementui表单重置 resetFields问题(无法重置表单)
    element ui表单验证,validate与resetFields的使用你知道哪些
    前端下载文件(GET、POST方法)
    vue中使用elementui里的table时,需求是前面的勾选框根据条件判断是否可以勾选设置
    流体力学笔记 第一章 向量场的概念及运算
    Gersgorin定理
    奇异值分解的证明和直观理解
    2020机器学习学习笔记
  • 原文地址:https://www.cnblogs.com/huashanlin/p/524314.html
Copyright © 2011-2022 走看看