📄 old_helpflash.htm
字号:
<HTML xmlns:v>
<HEAD>
<META http-equiv='Content-Type' content='text/html;charset=gb2312'>
<TITLE>FlashVml入门动画教程</TITLE>
<META name='Gemeratpr' content='flashvml2.0'>
<META name='KeyWords' content='FlashVml入门动画教程,flashvml,vml,vml动画,风云舞,图像画板,在线画板,在线画图'>
<STYLE>
v\:*{behavior:url(#default#VML);}
</STYLE>
<script>
function window.onerror(){return true;} //防止您的程序出现错误时弹出提示
</script>
<script>
var exptime=0;endtime="/137";zhenlens=0;zhenlens2=0;
function statusreplace(){window.status="The FlashVml Play Time\'s "+exptime+endtime+" Seconds,An animation:"+zhenlens+",Milli-an animation:"+zhenlens2}
function statuschange(){
if(top.location==self.location)setInterval('exptime++;statusreplace()',1000)
}
</script>
<script id="myscript" language="javascript">
var huituyoubiao=0
var vml1text="FlashVml入门动画教程",vml1textyoubiao=1
var arrayyoubiao=0,posyoubiao=2,leftstr="",thetime1=null
var pathstr=new Array(8) //记录原始path.value
var somestr1=new Array(8) //记录path.value数组
function vml2zhunbei(){
vml2.style.top=-200;vml2.Rotation=0;vml2.style.display='';
}
function fvmlchang(){
for(i=0;i<9;i++){
pathstr[i]=fvml[i].path.value;
somestr1[i]=pathstr[i].replace(' m','').replace(' l',',').replace(' e','').split(',');
fvml[i].path.value="m"+somestr1[i][0]+","+somestr1[i][1] //创建基本视图
fvml[i].style.display=""
}thetime1=setInterval("fun2()",20)}
function fun2(){
if(posyoubiao<somestr1[arrayyoubiao].length){
leftstr="";
for(i=2;i<posyoubiao;i++){if(i==2){leftstr=somestr1[arrayyoubiao][i]}else leftstr+=(","+somestr1[arrayyoubiao][i])}
fvml[arrayyoubiao].path.value="m "+somestr1[arrayyoubiao][0]+","+somestr1[arrayyoubiao][1]+" l"+leftstr+" e"
}else{ //*********
if(arrayyoubiao==8){fvml[arrayyoubiao].path.value=pathstr[arrayyoubiao];clearTimeout(thetime1);}
else{fvml[arrayyoubiao].path.value=pathstr[arrayyoubiao];arrayyoubiao++;posyoubiao=2;}
} //*************
posyoubiao+=2
}</script>
</HEAD>
<BODY bgcolor=#EEEEEE scroll=no>
<bgsound loop=1 id=bgsound1>
<bgsound loop=-1 id=bgsound2>
<script>
function flashvml(){ //以下是侦式动画程序
setTimeout("zhenlens++;statusreplace();vml1.style.display='';vml1.textPath.string=\"F\"","26000");
setTimeout("zhenlens++;statusreplace();vml2zhunbei()","28000");
setTimeout("zhenlens++;statusreplace();for(i=0;i<huitu.length;i++){huitu[i].style.left=parseInt(huitu[i].style.left)-1000;}","33000");
setTimeout("zhenlens++;statusreplace();vml2zhunbei();vml2.textPath.string=\"2:图型处理\";","42000");
setTimeout("zhenlens++;statusreplace();huitu[0].strokeweight='3px';","47000");
setTimeout("zhenlens++;statusreplace();huitu[0].strokecolor='red'","48000");
setTimeout("zhenlens++;statusreplace();huitu[0].shadow.color='black';huitu.shadow.offset='3pt,3pt';huitu.shadow.on='t';","49000");
setTimeout("zhenlens++;statusreplace();huitu[1].style.left=huitu[1].offsetLeft+70","50000");
setTimeout("zhenlens++;statusreplace();huitu[1].style.zIndex=1000","51000");
setTimeout("zhenlens++;statusreplace();huitu[1].strokecolor=\"blue\";huitu[1].strokeweight=3","52000");
setTimeout("zhenlens++;statusreplace();huitu[1].stroke.startarrow=\"classic\";huitu[1].stroke.endarrow=\"block\"","53000");
setTimeout("zhenlens++;statusreplace();huitu[2].strokecolor=\"red\"","54000");
setTimeout("zhenlens++;statusreplace();huitu[2].fillcolor=\"yellow\"","55000");
setTimeout("zhenlens++;statusreplace();huitu[2].fill.type=\"gradient\";huitu[2].fill.color2=\"green\";","56000");
setTimeout("zhenlens++;statusreplace();huitu[2].filled=false","57000");
setTimeout("zhenlens++;statusreplace();huitu[3].stroke.dashstyle=\"dashDot\";huitu[3].strokeweight=\"2px\";huitu[3].strokecolor=\"purple\";","58000");
setTimeout("zhenlens++;statusreplace();huitu[3].style.clip=\"rect(0 \"+huitu[3].offsetWidth/2+\" \"+huitu[3].offsetHeight/2+\" 0)\"","59000");
setTimeout("zhenlens++;statusreplace();huitu[4].filled=true;huitu[4].fill.type=\"frame\";huitu[4].fill.src=huitu[11].src;huitu[4].fill.on=true;","61000");
setTimeout("zhenlens++;statusreplace();huitu[4].fill.opacity=\"0.5\";huitu[4].fillcolor=\"red\";","62000");
setTimeout("zhenlens++;statusreplace();huitu[5].extrusion.on='t';huitu[5].extrusion.foredepth='0';huitu[5].extrusion.backdepth='20pt';huitu[5].extrusion.color='red';huitu[5].extrusion.rotationangle='0,0';","63000");
setTimeout("zhenlens++;statusreplace();huitu[5].extrusion.diffusity=\"1.2\"","64000");
setTimeout("zhenlens++;statusreplace();huitu[6].shadow.color='black';huitu[6].shadow.offset='3pt,3pt';huitu[6].shadow.on='t';","65000");
setTimeout("zhenlens++;statusreplace();huitu[6].shadow.color='red';huitu[6].shadow.offset='-3pt,3pt';huitu[6].shadow.on='t';","66000");
setTimeout("zhenlens++;statusreplace();huitu[7].startangle=\"250\";huitu[7].endangle=\"80\"","67000");
setTimeout("zhenlens++;statusreplace();huitu[8].filled=true;huitu[8].fillcolor=\"white\";huitu[8].strokecolor=\"blue\";huitu[8].innerHTML=\"<v:path textpathok='True'/><v:textpath on='True' style='font-size:30px;' string='FlashVml'/>\"","68000");
setTimeout("zhenlens++;statusreplace();huitu[9].filled=true;huitu[9].fillcolor=\"yellow\";huitu[9].strokecolor=\"red\";huitu[9].innerHTML=\"<v:path textpathok='True'/><v:textpath on='True' style='font-size:20px;' string='FlashVml文字化功能'/>\"","69000");
setTimeout("zhenlens++;statusreplace();huitu[10].style.border=\"\";huitu[10].innerHTML=\"<b>FlashVml</b> <Font color=blue>Good!</font><input type=button value='HTML支持' onclick=alert('HTML/DHTML支持')\"","70000");
setTimeout("zhenlens++;statusreplace();huitu[11].style.filter=\"gray\"","71000");
setTimeout("zhenlens++;statusreplace();huitu[11].Rotation=150","72000");
setTimeout("zhenlens++;statusreplace();vml2zhunbei();vml2.textPath.string=\"3:动画创作\";","74000");
setTimeout("zhenlens++;statusreplace();vml2zhunbei();vml2.textPath.string=\"4:动画结束\"","132000");
setTimeout("location.reload();",140000);
}
</script>
<script>
var dzobj2=null,tuoldx=0,tuoldy=0,dzbuzhou=1
function dizhen(dzobj,zhenfu){ //流线动画使用地震效果必要函数
if(dzobj2!=dzobj){
if(dzobj2!=null){if(dzobj2==window)dzobj2.moveTo(tuoldx,tuoldy);else {dzobj2.style.left=tuoldx;dzobj2.style.top=tuoldy;}}
dzobj2=dzobj
if(dzobj==window){tuoldx=window.screenLeft;tuoldy=window.screenTop;}else{tuoldx=parseInt(dzobj.style.left);tuoldy=parseInt(dzobj.style.top);}
}
zhenfu2=Math.round(Math.random()*zhenfu)
if(dzobj!=window){
Math.random()>0.5?zhengui2="+":zhengui2="-";
if(dzbuzhou==1){eval("dzobj.style.left=tuoldx"+zhengui2+"zhenfu2")}
else if(dzbuzhou==2){eval("dzobj.style.top=tuoldy"+zhengui2+"zhenfu2")}
else if(dzbuzhou==3){dzobj.style.left=tuoldx}
else if(dzbuzhou==4){dzobj.style.top=tuoldy}
}else{
Math.random()>0.5?windowBy=zhenfu2:windowBy=-zhenfu2;
if(dzbuzhou==1){eval("window.moveBy("+windowBy+",0)")}
else if(dzbuzhou==2){eval("window.moveBy(0,"+windowBy+")")}
else if(dzbuzhou==3){window.moveTo(tuoldx+","+window.screenTop)}
else if(dzbuzhou==4){window.moveTo(tuoldx+","+tuoldy)}
}
dzbuzhou++;if(dzbuzhou==5)dzbuzhou=1
}
//使用动态裁减效果必要函数
var objwid=0,objhei=0,cliptop=0,clipright=0,clipdown=0,clipleft=0,clipoldobj=null
function clipcool(clipobj,clipsudu,cliptopyes,cliprightyes,clipdownyes,clipleftyes,clipwidth,clipheight){
if(clipoldobj!=clipobj){
objwid=clipobj.offsetWidth;objhei=clipobj.offsetHeight;
clipobj.style.clip="rect(0 "+objwid+" "+objhei+" 0)"
cliptop=0;clipright=objwid;clipdown=objhei;clipleft=0
clipoldobj=clipobj
}
if(cliprightyes==true)objwid-=clipsudu
if(clipdownyes==true)objhei-=clipsudu
if(cliptopyes==true)cliptop+=clipsudu
if(clipleftyes==true)clipleft+=clipsudu
clipobj.style.clip="rect("+cliptop+"px "+objwid+"px "+objhei+"px "+clipleft+"px)"
}
function flashvml2(){ //以下是流线动画程序
FlashVmlIntervalVar0="zhenlens2++;statusreplace();for(i=0;i<6;i++){fvml[i].style.left=parseInt(fvml[i].style.left)+3;}for(i=6;i<9;i++){fvml[i].style.left=parseInt(fvml[i].style.left)-3;}";
setTimeout("FlashVmlIntervalTime0=setInterval(FlashVmlIntervalVar0,25)",9000);
setTimeout("clearInterval(FlashVmlIntervalTime0)",12000);
FlashVmlIntervalVar1="zhenlens2++;statusreplace();for(i=0;i<6;i++){fvml[i].style.left=parseInt(fvml[i].style.left)-2;}for(i=6;i<9;i++){fvml[i].style.left=parseInt(fvml[i].style.left)+2;}";
setTimeout("FlashVmlIntervalTime1=setInterval(FlashVmlIntervalVar1,23)",13000);
setTimeout("clearInterval(FlashVmlIntervalTime1)",15000);
FlashVmlIntervalVar2="zhenlens2++;statusreplace();for(i=0;i<9;i++){fvml[i].strokecolor='rgb('+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+')';}";
setTimeout("FlashVmlIntervalTime2=setInterval(FlashVmlIntervalVar2,100)",18000);
setTimeout("clearInterval(FlashVmlIntervalTime2)",23000);
FlashVmlIntervalVar3="zhenlens2++;statusreplace();fvml[0].style.left=parseInt(fvml[0].style.left)-15;fvml[1].style.left=parseInt(fvml[1].style.left)-15;fvml[2].style.left=parseInt(fvml[2].style.left)-15;fvml[2].style.top=parseInt(fvml[2].style.top)-15;fvml[3].style.top=parseInt(fvml[3].style.top)-15;fvml[4].style.left=parseInt(fvml[4].style.left)+15;fvml[4].style.top=parseInt(fvml[4].style.top)-15;fvml[5].style.left=parseInt(fvml[5].style.left)+15;fvml[6].style.left=parseInt(fvml[6].style.left)-15;fvml[6].style.top=parseInt(fvml[6].style.top)+15;fvml[7].style.top=parseInt(fvml[7].style.top)+15;fvml[8].style.left=parseInt(fvml[8].style.left)+15;fvml[8].style.top=parseInt(fvml[8].style.top)+15;";
setTimeout("FlashVmlIntervalTime3=setInterval(FlashVmlIntervalVar3,10)",23000);
setTimeout("clearInterval(FlashVmlIntervalTime3)",25000);
FlashVmlIntervalVar4="zhenlens2++;statusreplace();if(vml1textyoubiao<vml1text.length+1){vml1textyoubiao++;vml1.textPath.string=vml1text.substr(0,vml1textyoubiao);}";
setTimeout("FlashVmlIntervalTime4=setInterval(FlashVmlIntervalVar4,140)",26000);
setTimeout("clearInterval(FlashVmlIntervalTime4)",28000);
FlashVmlIntervalVar5="zhenlens2++;statusreplace();vml2.style.top=parseInt(vml2.style.top)+8;vml2.Rotation+=5;";
setTimeout("FlashVmlIntervalTime5=setInterval(FlashVmlIntervalVar5,10)",28000);
setTimeout("clearInterval(FlashVmlIntervalTime5)",33000);
FlashVmlIntervalVar6="zhenlens2++;statusreplace();if(huituyoubiao<huitu.length){huitu[huituyoubiao].style.display='';huituyoubiao++}";
setTimeout("FlashVmlIntervalTime6=setInterval(FlashVmlIntervalVar6,500)",33000);
setTimeout("clearInterval(FlashVmlIntervalTime6)",40000);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -