现在的位置: 首页 > 综合 > 正文

FlashVml2.0(WEB上的PhotoShop+Flash、VML最强开发工具)[推荐]

2013年08月27日 ⁄ 综合 ⁄ 共 49746字 ⁄ 字号 评论关闭

fvml2.0完整压缩包下载地址(6860KB,包括fvml2主程序、所有演示VMLFLASH、MP3、图片资源文件等所有文件):
http://www.codefans.com/CodeView/CodeView_4894.html
http://lydsgw.com/fyw/flashvml2.rar
http://flashvml.iecn.net/flashvml2.rar

推荐使用方式:
1:将下面代码保存为FlashVml2_0.htm
2:右键单击FlashVml2_0.htm,创建一个桌面快捷方式
3:以后直接到桌面双击快捷方式打开FlashVml2_0.htm即可

在线使用:
http://www.sjzxdl.com/fyw/flashvml2_0.htm
http://demo.codes.com.cn/FlashVml2/flashvml2_0.htm
http://flashvml.iecn.net/flashvml2_0.htm
http://lydsgw.com/fyw/flashvml2_0.htm

完整代码如下:

<HTML xmlns:v>
<HEAD>
<META http-equiv="Content-Type" content="text/html; Charset=gb2312">
<META name="GENERATOR" content="网络程序员伴侣(Lshdic)2005">
<META name='KeyWords' content='flashvml,vml,vml动画,风云舞,图像画板,在线画板,在线画图'>
<title>FlashVml2.0(在线Flash&Vml图像、动画画板)</title>
<STYLE>
v/:*{behavior:url(#default#VML);}   /*声明V为VML变量*/
a{text-Decoration:none;color:red}
a:hover{text-Decoration:underline;color:blue;}
table{background-color:#FCDCF1;}
td{font-size:12px;color:555555;}
span{font-size:12px;white-Space:nowrap;}
.bon1{border-bottom:1 solid eeeeee;border-right:1 solid eeeeee;border-left:1 solid gray;border-top:1 solid gray;background-color:dddddd;color:blue;width:54;cursor:hand}
.bon2{border-bottom:1 solid gray;border-right:1 solid gray;border-left:1 solid white;border-top:1 solid white;background-color:#FCDCF1;color:maroon;width:54;cursor:hand;font-family:宋体}
.bon3{border-bottom:1 solid maroon;border-right:1 solid maroon;border-left:1 solid menu;border-top:1 solid menu;background-color:#F0E5D1;color:purple;width:54;cursor:hand;font-family:宋体}
textarea{border:1 groove purple;}
#cen{color:maroon;font-weight:bold;width:100%;height:100%;cursor:move}
#xiaolei{color:red}
.keshi{position:absolute;z-index:30000;}
.zhongyao{cursor:hand;font-weight:bold;color:red}
</STYLE>
</HEAD>
<BODY onscroll='bodyscrollleft=document.body.scrollLeft;bodyscrolltop=document.body.scrollTop' oncontextmenu='if(event.srcElement.tagName!="TEXTAREA")return false' style='margin:0;cursor:default;border:0;scrollbar-base-color:purple;scrollbar-shadow-color:white;scrollbar-highlight-color:white;scrollbar-arrow-color:white;' vlink=#3732CD link='#3732CD' onselectstart='if(event.srcElement.tagName!="TEXTAREA"&&event.srcElement.tagName!="INPUT")return false' onhelp='fywvmlhelp.click();return false'>
<DIV style='position:absolute;z-index:4000;top:500;display:none;' id=meinv>
<v:curve style="Z-INDEX:3001;LEFT:356px;POSITION:absolute;TOP:198px;" from="0,0" control1="75pt,-19pt" control2="95pt,-16pt" to="96.75pt,-12pt" filled="t" fillcolor="black" strokecolor="black" strokeweight=".75pt"> <v:fill type="frame" opacity=".5"></v:fill></v:curve><v:curve style="Z-INDEX:3007;LEFT:543px;POSITION:absolute;TOP:179px" from="0,0" control1="-3pt,-11.25pt" control2="48pt,-19pt" to="56.25pt,-17.25pt" filled="t" fillcolor="black" strokecolor="black" strokeweight=".75pt"><v:fill type="frame" opacity=".5"></v:fill></v:curve><v:curve style="Z-INDEX:3010;LEFT:386px;POSITION:absolute;TOP:232px" from="0,0" control1="11pt,-3pt" control2="48pt,-22pt" to="65.25pt,-9pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3026;LEFT:386px;POSITION:absolute;TOP:233px" from="0,0" control1="40pt,23pt" control2="65.25pt,-8.25pt" to="64.5pt,-9.75pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3037;LEFT:546px;POSITION:absolute;TOP:212px" from="0,0" control1="11pt,-20pt" control2="44.25pt,-14.25pt" to="46.5pt,-15pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve><v:curve style="Z-INDEX:3042;LEFT:546px;POSITION:absolute;TOP:211px" from="0,0" control1="48.75pt,11.25pt" control2="46.5pt,-14.25pt" to="46.5pt,-14.25pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:polyline style="Z-INDEX:3063;LEFT:548px;POSITION:absolute;TOP:211px" points="0,0,3pt,-5.25pt,8.25pt,-9pt,13.5pt,-11.25pt,22.5pt,-13.5pt,31.5pt,-14.25pt,39pt,-14.25pt,42pt,-6.75pt,41.25pt,-4.5pt,36.75pt,-.75pt,30.75pt,1.5pt,23.25pt,2.25pt,16.5pt,2.25pt,9pt,2.25pt,0,0" filled="t" fillcolor="#4338e8" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:fill type="frame" opacity=".5"></v:fill><v:stroke startarrow="none" endarrow="none"></v:stroke></v:polyline><v:polyline style="Z-INDEX:3082;LEFT:400px;POSITION:absolute;TOP:227px" points="0,0,0,3.75pt,2.25pt,9pt,3.75pt,9.75pt,10.5pt,12pt,15.75pt,12.75pt,26.25pt,12.75pt,33.75pt,10.5pt,42.75pt,6pt,48.75pt,.75pt,44.25pt,-8.25pt,36pt,-9.75pt,26.25pt,-8.25pt,15.75pt,-5.25pt,0,0" filled="t" fillcolor="#4338e8" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:fill type="frame" opacity=".5"></v:fill><v:stroke startarrow="none" endarrow="none"></v:stroke></v:polyline><v:arc style="Z-INDEX:3107;LEFT:546px;WIDTH:41px;CLIP:rect(4px 38px 23px 0px);POSITION:absolute;TOP:189px;HEIGHT:23px" startangle="238" endangle="27" coordsize="21600,21600" filled="t" fillcolor="black" stroked="f" strokecolor="#333" strokeweight=".75pt" adj=",,5400"><v:path arrowok="t"></v:path><v:fill type="frame" opacity=".5"></v:fill><v:stroke joinstyle="miter" startarrow="none" endarrow="none"></v:stroke></v:arc><v:arc style="Z-INDEX:3107;LEFT:406px;WIDTH:35px;CLIP:rect(0px 35px 22px 0px);POSITION:absolute;TOP:215px;HEIGHT:23px" startangle="278" endangle="32" coordsize="21600,21600" filled="t" fillcolor="black" stroked="f" strokecolor="#333" strokeweight=".75pt" adj=",,5400"><v:path arrowok="t"></v:path><v:fill type="frame" opacity=".5"></v:fill><v:stroke joinstyle="miter" startarrow="none" endarrow="none"></v:stroke></v:arc><v:oval style="Z-INDEX:3153;LEFT:413px;WIDTH:5px;POSITION:absolute;TOP:225px;HEIGHT:5px" coordsize="21600,21600" filled="t" fillcolor="white" stroked="f" strokecolor="#333" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke><v:fill type="frame" opacity="52428f"></v:fill></v:oval><v:oval style="Z-INDEX:3153;LEFT:559px;WIDTH:5px;POSITION:absolute;TOP:203px;HEIGHT:5px" coordsize="21600,21600" filled="t" fillcolor="white" stroked="f" strokecolor="#333" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke><v:fill type="frame" opacity="45875f"></v:fill></v:oval><v:curve style="Z-INDEX:3166;LEFT:377px;POSITION:absolute;TOP:228px" from="0,0" control1="18pt,-13.5pt" control2="64.5pt,-13.5pt" to="51pt,-13.5pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3171;LEFT:560px;POSITION:absolute;TOP:195px" from="0,0" control1="27pt,-10.5pt" control2="41.25pt,-6pt" to="41.25pt,-6pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3012;LEFT:536px;POSITION:absolute;TOP:231px" from="0,0" control1="26pt,40pt" control2="12.75pt,40.5pt" to="12.75pt,40.5pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3018;LEFT:522px;POSITION:absolute;TOP:315px" from="0,0" control1="44.25pt,-9pt" control2="44.25pt,-9pt" to="44.25pt,-9pt" filled="t" fillcolor="red" strokecolor="black" strokeweight=".75pt"><v:fill type="frame" opacity=".5"></v:fill></v:curve><v:curve style="Z-INDEX:3029;LEFT:522px;POSITION:absolute;TOP:315px" from="0,0" control1="18pt,-9pt" control2="15pt,-9pt" to="27.75pt,-7.5pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3032;LEFT:559px;POSITION:absolute;TOP:304px" from="0,0" control1="9pt,-7pt" control2="8pt,1pt" to="16.5pt,-1.5pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3079;LEFT:523px;POSITION:absolute;TOP:315px" from="0,0" control1="20pt,4pt" control2="20pt,4pt" to="27pt,3.75pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3086;LEFT:559px;POSITION:absolute;TOP:320px" from="0,0" control1="7pt,-3pt" control2="7pt,-2pt" to="15.75pt,-12.75pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:polyline style="Z-INDEX:3111;LEFT:524px;POSITION:absolute;TOP:313px" points="0,0,11.25pt,-4.5pt,17.25pt,-6.75pt,26.25pt,-6pt,27pt,-7.5pt,32.25pt,-9.75pt,38.25pt,-7.5pt,42pt,-8.25pt,37.5pt,-3pt,31.5pt,3pt,26.25pt,5.25pt,17.25pt,4.5pt,-.75pt,1.5pt,0,0" filled="t" fillcolor="red" stroked="f" strokecolor="black" strokeweight=".75pt"><v:fill type="frame" opacity=".5"></v:fill><v:stroke startarrow="none" endarrow="none"></v:stroke></v:polyline><v:line style="Z-INDEX:3132;LEFT:403px;POSITION:absolute;TOP:240px" from="0,0" to="-7.5pt,7.5pt" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:line><v:line style="Z-INDEX:3133;LEFT:410px;POSITION:absolute;TOP:242px" from="0,0" to="-9pt,12.75pt" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:line><v:line style="Z-INDEX:3134;LEFT:600px;POSITION:absolute;TOP:207px" from="0,0" to="12.75pt,4.5pt" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:line><v:line style="Z-INDEX:3135;LEFT:605px;POSITION:absolute;TOP:200px" from="0,0" to="14.25pt,2.25pt" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:line><v:Textbox id=mmtishi title="" style="display:none;FONT-SIZE:20px;Z-INDEX:3157;LEFT:324px;WIDTH:394px;COLOR:red;WORD-BREAK:break-all;FONT-FAMILY:黑体;LETTER-SPACING:2px;POSITION:absolute;TOP:412px;HEIGHT:73px;TEXT-ALIGN:center" inset="5pt,5pt,5pt,5pt">FlashVml程序加载完成 <BR>可以使用<BR><FONT color=blue>&#169;CopyRight2004-2005 FYW(风云舞)</FONT></v:Textbox><v:curve style="Z-INDEX:3178;LEFT:620px;POSITION:absolute;TOP:131px" from="0,0" control1="8pt,162pt" control2="-46pt,162pt" to="-52.5pt,164.25pt" filled="f" fillcolor="white" stroked="t" strokecolor="#555" strokeweight=".75pt"><v:stroke startarrow="none" endarrow="none"></v:stroke></v:curve><v:curve style="Z-INDEX:3208;LEFT:345px;POSITION:absolute;TOP:221px" from="0,0" control1="120pt,129.75pt" control2="175.5pt,117.75pt" to="154.5pt,116.25pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve><v:curve style="Z-INDEX:3212;LEFT:381px;POSITION:absolute;TOP:282px" from="0,0" control1="107.25pt,97.5pt" control2="180.75pt,84pt" to="180.75pt,84pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve><v:curve style="Z-INDEX:3215;LEFT:413px;POSITION:absolute;TOP:328px" from="0,0" control1="107.25pt,1in" control2="186pt,54.75pt" to="186pt,54.75pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve><v:curve style="Z-INDEX:3222;LEFT:339px;POSITION:absolute;TOP:261px" from="0,0" control1="168.75pt,127.5pt" control2="261pt,95.25pt" to="261pt,95.25pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve><v:curve style="Z-INDEX:3249;LEFT:319px;POSITION:absolute;TOP:157px" from="0,0" control1="123.75pt,189.75pt" control2="271.5pt,166.5pt" to="271.5pt,166.5pt" filled="f" fillcolor="white" strokecolor="black" strokeweight=".75pt"></v:curve></div>
<script>
 //画板初期状态存储变量
var huaban_yanse="#EEEEEE",huaban_biaoti="吾之画",huaban_zuidahua=true,huaban_gundongtiao=0
var huaban_gundongbase="purple",huaban_tianjiaid=true,huaban_pingbicuowu=true
var huaban_cookies=1,huaban_wangge="50px",huaban_wanggese="#5fb6f6"
var meinvtime=null,nonos="none"
window.status="FlashVml2.0程序加载中,请少等完成后使用...."
function meinvgo(){  //开场欢迎
meinv.style.display="";
meinvtime2="setInterval('if(meinv.offsetTop>-400){meinv.style.top=meinv.offsetTop-10}else{clearInterval(meinvtime);meinv.style.display=nonos}',30)"
meinvtime=setInterval("if(meinv.offsetTop>0){meinv.style.top=meinv.offsetTop-10}else{clearInterval(meinvtime);mmtishi.style.display='';setTimeout(/"mmtishi.style.display=nonos;"+meinvtime2+"/",3000)}",30)
}
function deletecookies(){   //删除COOKIES
var dates = new Date();
dates.setDate(dates.getDate()-1000);
document.cookie="fvml1=1;expires="+dates.toGMTString()
}
function setcookies(){   //设定COOKIES
var dates=new Date()
dates.setDate(dates.getDate()+365) //cookies过期时间1年
document.cookie="fvml1="+huabutab.width+","+huaban_yanse+","+huaban_gundongbase+","+huaban_biaoti+","+huaban_zuidahua+","+huaban_gundongtiao+","+yesaddnextid.checked+","+pingbicuowu.checked+","+xunhuan1.checked+","+huaban_cookies+","+huaban_wangge+","+huaban_wanggese+";expires="+dates.toGMTString()
}
function getcookies(){   //读取COOKIES
if(document.cookie=="")return false;
cookies=document.cookie.split('; ')
temp1=-1
for(i=0;i<cookies.length;i++){if(cookies[i].indexOf("fvml1=")==0)temp1=i}  //找到flashvml的COOKIES存储组
if(temp1==-1)return false
cks=cookies[temp1].substr(6).split(",")  //逗号分割
huaban_cookies=cks[9]
if(huaban_cookies==0){deletecookies();return false}  //如果是cookies不存储,删除COOKIES
huabutab.width=cks[0];huabutab.height=cks[0]  //设置启动值
div1.style.backgroundColor=cks[1];huaban_yanse=cks[1]
document.body.style.scrollbarBaseColor=cks[2];huaban_gundongbase=cks[2]
huaban_biaoti=cks[3]
if(cks[4]=="false")huaban_zuidahua=false
huaban_gundongtiao=cks[5]
if(cks[6]=="false")yesaddnextid.checked=false
if(cks[7]=="false")pingbicuowu.checked=false
if(cks[8]=="false")xunhuan1.checked=false
huaban_wangge=cks[10];huaban_wanggese=cks[11]
changsts();
}
var muqianwangge=false   //记录是否用过网格、当前网格状态
function wangge(){  //启用及关闭网格线
if(muqianwangge==false){
muqianwangge=true
temp0=huaban_wangge.replace(/px/g,'');temp1=768/temp0;temp2=1024/temp0;
temp3=div1.offsetWidth;temp4=div1.offsetHeight;temp5=huaban_wanggese
tempck=" onmousedown=alert('不能对网格操作')"
for(i=0;i<temp1;i++){document.body.appendChild(document.createElement("<v:line to="+temp3+",0 style='position:absolute;z-index:5;left:0;top:"+(temp0*i)+";' strokecolor='"+temp5+"' strokeweight='1px'"+tempck+" id='wanggexian'/>"))}
for(i=0;i<temp2;i++){document.body.appendChild(document.createElement("<v:line to=0,"+temp4+" style='position:absolute;z-index:5;left:"+(temp0*i)+";top:0;' strokecolor='"+temp5+"' strokeweight='1px'"+tempck+" id='wanggexian'/>"))}
}else{muqianwangge=false;templen=wanggexian.length;for(i=0;i<templen;i++){wanggexian[i].removeNode();templen--;i--}}
}
function window.onload(){   //启动时cookies更新视图
getcookies();meinvgo()
}
function window.onbeforeunload(){   //关闭时存储cookies
setcookies()
}
function window.onerror(){  //防止未下载完成时、误操作引起的未知、可能的错误
return true
}
</script>
<script>
keystrs="flashvml,vml,vml画板,vml动画,vml图像画板,风云舞,图像画板,在线画板,在线画图"
if(screen.width<1024||screen.height<768){alert('本程序只支持在大于1024*768显示器分辨率的环境下工作,检测您的显示器分辨率低于这个数值,请在[控制面板--显示]中调整分辨率为1024*768或大于这个分辨率,而后在刷新本页,即可使用');document.body.style.display='none'}
var flashvmlfunadd="",flashvml2funadd="",statuschangefunadd=""  //决定是否在编译window.onload()时插入相关函数脚本
var xx=0,yy=0,moveok=0
var onloadjiaobenstr=""  //存储用户对onload()函数所做的修改
function onloadstr(whatonload){
if(whatonload==true){jtempp="/n"+flashvmlfunadd+flashvml2funadd+statuschangefunadd}else{jtempp=""}
if(onloadjiaobenstr!=""){jtempp2="/n"+onloadjiaobenstr+"/n"}else{jtempp2=""}
return "<script>/n//启动更新函数,更新所有使用旋转/隐藏功能的物件初期视图/nif(screen.width<1024||screen.height<768){alert(/"本页最佳适应于支持大于1024*768显示器分辨率的环境下工作,检测您的显示器分辨率低于这个数值,请在[控制面板--显示]中调整分辨率为1024*768或大于这个分辨率,而后在刷新本页,即可看到最佳效果/");}/nvar loadtime=null,loadtext='if(document.readyState!=/"complete/"){window.status=window.status+/"./"}else{clearInterval(loadtime);window.status=/"/"}';/nwindow.status='相关图型/程序/音乐正在加载,请等待,Loading'/nloadtime=setInterval(loadtext,200)/nfunction window.onload(){try{var bodyobjs=document.body.children;for(i=0;i<bodyobjs.length;i++){if(bodyobjs[i].xuanzhuan!=null)bodyobjs[i].Rotation=bodyobjs[i].xuanzhuan;/nif(bodyobjs[i].yincang!=null)bodyobjs[i].style.display='none';}}catch(e){}"+jtempp+jtempp2+"}/n;;;/script>"
}
</script>
<!--存储地震效果函数--><textarea id=dhfun_dizhen style="display:none">
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)"
}
</textarea>

<v:line style="position:absolute;z-index:50000;display:none;top:0" id=biaochi1 from="0,0" to="0,10pt" strokecolor="blue" strokeweight="5pt">  <!--起点X标尺-->
<v:stroke startarrow="none" endarrow="classic"/>
</v:line>
<v:line style="position:absolute;z-index:50000;display:none;left:0" id=biaochi2 from="0,0" to="10pt,0" strokecolor="blue" strokeweight="5pt">  <!--起点Y标尺-->
<v:stroke startarrow="none" endarrow="classic"/>
</v:line>
<v:line class=keshi style="display:none" from="0,0" to="0,24.75pt" strokecolor="red" strokeweight="4pt" id='biaoshi'>  <!--红色箭头用于标识目标ID对象-->
<v:Stroke startarrow="none" endarrow="block">
</v:Stroke>
</v:line>
<v:Line class=keshi style="display:none" id='line1' dashstyle='dashdot'>  <!--直线可视化-->
<v:Stroke dashstyle='dashdot'/>
</v:line>
<v:arc startangle='270' endangle='90' class=keshi style='display:none' id='arc1'>  <!--弧型可视化-->
<v:Stroke dashstyle='dashdot'/>
</v:arc>
<v:Oval class=keshi style="display:none" id='oval1'>  <!--圆型可视化-->
<v:Stroke dashstyle='dashdot'/>
</v:oval>
<v:rect class=keshi style="display:none" id='rect1'>  <!--长方型可视化-->
<v:Stroke dashstyle='dashdot'/>
</v:rect>
<v:rect class=keshi style="display:none;cursor:hand" filled="t" fillcolor="yellow" strokecolor="red" strokeweight="1px" id='caijian' onmouseup="if(event.button==1){var skk=prompt('请输入一个步长(默认为25),然后请使用方向键[上、下、左、右]控制进行裁剪,裁剪完成后,按下[回车键]或[鼠标右键]完成。注意必须输入数字,否则无法裁剪。建议输入范围5-50',caijianbu);if(skk!=''&&skk!=null){caijianbu=parseInt(skk);}}else{caijian.style.display='none';thisobj=null;return false}">  <!--裁剪长方型可视化-->
<v:Stroke dashstyle='dashdot'/>
<v:fill type="frame" opacity="0.1"/>
</v:rect>
<v:roundrect class=keshi style="display:none" id='roundrect1'>  <!--圆锯型可视化-->
<v:Stroke dashstyle='dashdot'/>
</v:roundrect>
<table cellspacing=0 cellpadding=0 width=200% height=200% id=huabutab><tr><td>
<div style='width:100%;height:100%;background-color:eeeeee;color:black;cursor:crosshair;' id=div1></div>
</td></tr></table>
<span class=keshi style="display:none;left:expression(document.body.offsetWidth/2-(this.offsetWidth/2));top:expression(document.body.offsetHeight/2-(this.offsetHeight/2));z-index:40000;display:none;background-color:#FCDCF1" id='huabanshezhi'>   <!--画板设置选项-->
<FIELDSET style="width:250;padding:5;">
<Legend>画板状态设置</legend>
画布大小:<select id=huaban_daxiao1><option>最小<option selected>二倍<option>三倍<option>四倍<option>五倍</select><br>网格像素:<select id=huaban_wangge1><option>25px<option selected>50px<option>75px<option>100px<option>125px<option>150px<option>175px<option>200px</select> 网格颜色:<input type='text' style='border:1 solid black;width:55;height:17;' value='#FFFFFF' onmousedown='rndcolor(this.id)' id='huaban_wanggese1'><br>画布颜色:<input type='text' style='border:1 solid black;width:55;height:17;' value='#EEEEEE' onmousedown='rndcolor(this.id)' id='huaban_yanse1'> 滚动条颜色:<input type='text' style='border:1 solid black;width:55;height:17;' value='purple' onmousedown='rndcolor(this.id)' id='huaban_gundongbase1'><br>图像标题:<input type='text' style='border:1 solid black;width:182;height:17;' value='吾之画' id=huaban_biaoti1>
</FIELDSET><br>
<FIELDSET style="width:250;padding:5">
<Legend>运行状态设置</legend>
自动最大化窗口:<input type=checkbox checked id=huaban_zuidahua1><br>
显示画板类似滚动条:<input type=radio checked name=huaban_gundongtiao1><br>
显示系统默认滚动条:<input type=radio name=huaban_gundongtiao1><br>
不显示任何的滚动条:<input type=radio name=huaban_gundongtiao1>
</FIELDSET><br>
<FIELDSET style="width:250;padding:5">
<Legend>画板下次启动时自动设置(Cookies)</legend>
应用画板的默认设置:<input type=radio name=huaban_cookies1><br>
应用本次对画板设置的改动:<input type=radio checked name=huaban_cookies1><br>
</FIELDSET><br><Center>
<input type='button' value='确定' class="bon3" onclick="huaban_gundongbase=huaban_gundongbase1.value;huaban_yanse=huaban_yanse1.value;huaban_biaoti=huaban_biaoti1.value;huaban_zuidahua=huaban_zuidahua1.checked;for(i=0;i<huaban_gundongtiao1.length;i++){if(huaban_gundongtiao1[i].checked)huaban_gundongtiao=i};div1.style.backgroundColor=huaban_yanse;huabutab.width=(100*huaban_daxiao1.selectedIndex)+100+'%';huabutab.height=(100*huaban_daxiao1.selectedIndex)+100+'%';for(i=0;i<huaban_cookies1.length;i++){if(huaban_cookies1[i].checked)huaban_cookies=i};huabanshezhi.style.display='none';document.body.style.scrollbarBaseColor=huaban_gundongbase;huaban_wangge=huaban_wangge1.options[huaban_wangge1.selectedIndex].text;huaban_wanggese=huaban_wanggese1.value;changsts()" style=width:50> <input style=width:50 type='button' value='默认值' class="bon3" onclick="huaban_daxiao1.options[1].selected=true;huaban_yanse1.value='#EEEEEE';huaban_yanse1.style.color='#EEEEEE';huaban_gundongbase1.value='purple';huaban_gundongbase1.style.color='purple';huaban_biaoti1.value='吾之画';huaban_wanggese1.value='white';huaban_zuidahua1.checked=true;huaban_gundongtiao1[0].checked=true;huaban_cookies1[1].checked=true;huaban_wangge1[1].selected=true"> <input style=width:50 type='button' value='取消' class="bon3" onclick="huabanshezhi.style.display='none'"></center></span>
<iframe id=web src="about:blank" style="display:none"></iframe>  <!--实现保存-->
<span class=keshi style="display:none;" id='wenzi1'>   <!--插入文字可视化-->
文字内容(支持HTML标签):<select id='textstyle'><option value='<b></b>'>粗体字<option value='<i></i>'>斜体字<option value='<u></u>'>下划线<option value='<big></big>'>偏大<option value='<small></small>'>偏小<option value='<sup></sup>'>偏上<option value='<sub></sub>'>偏下<option value='<center></center>'>居中对齐<option value='<span style="text-align:right"></span>'>向右对齐<option value='<font color="#FF0000"></font>'>有字色<option value='<font style="background-color:#FF0000"></font>'>背景色<option value='<span style="border:1 solid black"></span>'>有边框<option value='<marquee width=100></marquee>'>流动字幕</select><input type=button class=bon3 value=加入该标签 onclick='ccc=textstyle.options[textstyle.selectedIndex].value;txt1.focus();document.selection.createRange().text=ccc.substr(0,ccc.indexOf(">")+1)+document.selection.createRange().text+ccc.substr(ccc.indexOf(">")+1)' style='width:75'><br>
<textarea id='txt1' style='width:300;height:100;background-color:Transparent;border:1 solid black'></textarea><br>
<center>字体:<select style="width:100;" id=wenziziti onchange='txt1.style.fontFamily=this.options[this.selectedIndex].text;'><script>var zitistr="<option selected>宋体<option>黑体<option>隶书<option>幼圆<option>楷体_GB2312<option>仿宋_GB2312<option>华文中宋<option>华文行楷<option>华文新魏<option>华文细黑<option>华文彩云<option>方正姚体<option>方正舒体<option>Wingdings<option>Wingdings 2<option>Wingdings 3<option>Webdings<option>System<option>@宋体<option>@黑体<option>@隶书<option>@幼圆<option>@楷体_GB2312<option>@仿宋_GB2312<option>@华文中宋<option>@华文行楷<option>@华文新魏<option>@华文细黑<option>@华文彩云<option>@方正姚体<option>@方正舒体<option>@System";document.write(zitistr)</script></select> 有无边框<input type='checkbox' id='wenzibiankuang' checked onclick="this.checked?txt1.style.borderWidth=1:txt1.style.borderWidth=0"> 背景透明<input type='checkbox' id='beijingtouming' checked onclick="this.checked?txt1.style.backgroundColor='Transparent':txt1.style.backgroundColor=wenzibeijing.value"><br>
颜色:<input type='text' style='border:1 solid black;width:50;height:17;' value='#000000' onmousedown='rndcolor(this.id)' id='wenziyanse' onmousemove='txt1.style.color=this.value;'> 背景:<input type='text' style='border:1 solid black;width:50;height:17;' value='#FFFFFF' onmousedown='rndcolor(this.id)' id='wenzibeijing' onmousemove='if(!beijingtouming.checked)txt1.style.backgroundColor=this.value'> 大小:<select style="width:50;" id=wenzidaxiao onchange='txt1.style.fontSize=this.options[this.selectedIndex].text;'><option selected>12<script>var temp101="";for(i=1;i<101;i++){temp101+="<option>"+i;}document.write(temp101)</script></select><br>
<select id='duiqi' onchange="if(this.options[0].selected==true)txt1.style.textAlign='left';if(this.options[1].selected==true)txt1.style.textAlign='center';if(this.options[2].selected==true)txt1.style.textAlign='right';"><option value=''>左对齐<option value='text-align:center'>居中<option value='text-align:right'>右对齐</select><Select id='zijiange' onchange="if(this.options[0].selected==false)txt1.style.letterSpacing=this.options[this.selectedIndex].text"><option>默认字间隔度<Script>document.write(temp101)</script></select><Select id='hangjiange' onchange="if(this.options[0].selected==false)txt1.style.lineHeight=this.options[this.selectedIndex].text"><option>默认行隔度<Script>var temp1="";for(i=1;i<10;i+=0.5){temp1=temp1+"<option>"+i.toPrecision(2)}document.write(temp1)</script></select><br>
<input type='button' value='插入' class="bon3" onclick="charuwenzi()"><input type='button' value='取消' class="bon3" onclick="wenzi1.style.display='none'">
</span>
<span class=keshi style="display:none" id='tupian1'>   <!--插入图片可视化-->
<input type='file' id='file1' style='width:400'><br>
<center><select id='duibi'><option selected>默认对比度<script>document.write(temp101)</script></select><select id='secai'><option selected>默认色彩度<script>temp1="";for(i=0;i<9.9;i+=0.1){temp1+="<option>"+new Number(i).toFixed(1)}document.write(temp1)</script><option>10</select><select id=liangdu><option>默认亮度<script>temp1="";for(i=-0.5;i<0.6;i+=0.1){temp1+="<option>"+new Number(i).toFixed(1)};document.write(temp1)</script></select><select id=mohudu><option selected>默认模糊度<script>document.write(temp101)</script></select><br><input type='checkbox' onclick="duibi.disabled=this.checked;secai.disabled=this.checked;liangdu.disabled=this.checked;" id=heibai><label for='heibai'>黑白效果</label> <input type='checkbox' id=bolang><label for='bolang'>波浪效果</label> <input type='checkbox' id=xguangzhao><label for='xguangzhao'>X光照效果</label> <input type='checkbox' id=fancai><label for='fancai'>反彩效果</label><br>
<input type='button' value='插入' class="bon3" onclick="charutupian()"><input type='button' value='取消' class="bon3" onclick="tupian1.style.display='none'">
</span>
<span class=keshi style="display:none" id='beijingtupian1'>   <!--填充背景图片可视化-->
请输入背景图像的来源HTTP地址,或浏览使用本机的图片<br>
<input type='file' id='file2' style='width:400'><br>
<input type='button' value='插入' class="bon3" onclick="charubeijingtupian()"><input type='button' value='取消' class="bon3" onclick="beijingtupian1.style.display='none'">
</span>
<span class=keshi style="display:none;text-align:left" id='gaoji1'>   <!--改源码改可视化-->
<select id="shubiaozhuangtai"><option value="">默认形状<option value=hand>点击状态<option value=crosshair>十字状态<option value=move>拖动状态<option value=help>帮助状态<option value=wait>漏斗状态<option value=text>输入状态<option value=n-resize>n-resize<option value=e-resize>e-resize<option value=s-resize>s-resize<option value=w-resize>w-resize<option value=ne-resize>ne-resize<option value=nw-resize>nw-resize<option value=se-resize>se-resize<option value=sw-resize>sw-resize</select>(鼠标状态修改),TagName=<font color="red"><B id=tagnametext></b></font><br>
<textarea rows=2 style='border:1 solid black;width:340;height:30' id="tishibiaoti"></textarea>(提示标题)<br>
<textarea id='txt2' style='width:400;height:150'></textarea><br>
<center><input type='button' value='修改' class="bon3" onclick="gaojiobj.outerHTML=txt2.value.replace(/ onmouse/g,' temp_onmouse').replace(/ onkey/g,' temp_onkey').replace(/ (onclick|ondblclick)/g,' temp_$1');var tempobjs1=document.all[gaojiobjdex];tempobjs1.style.cursor=shubiaozhuangtai.value;tempobjs1.title=tishibiaoti.value;gaojiobj=null;gaoji1.style.display='none'"><input type=button class=bon3 value=取消 onclick='gaoji1.style.display="none"'> <b>共<font id=zishu2 color=red>0</font>字</b>
</span>
<span class=keshi style="display:none;text-align:left" id='shijian1'>   <!--可视化的事件编程-->
编程辅助键入工具:<input type=button class=bon3 value=文件路径 onclick="thefile1.click();if(document.all.thefile1.value!='')shijiantxt.value+='file:///'+document.all.thefile1.value.replace(////g,'/')" style='width:70'><input type='file' id='thefile1' style='display:none'> <input style='border:1 solid black;width:54;height:20;' value='颜色代码' id=yansedaima onmousedown='rndcolor(this.id)'><br>
<textarea id='shijiantxt' style='width:300;height:100'></textarea><br>
简易程序:<select id='jianyichengxu' style='width:170'>
<Optgroup label='网页控制类-通用' style='color:red'><Option value="document.bgColor='#FF0000'">网页背景色改变<Option value="document.body.background='图像路径'">网页背景图改变<option value="document.title='新的网页标题'">网页标题改变<option value="window.status='状态栏文字'">状态栏文字改变<Option value="bgsound1.src='音乐文件地址'">播放音乐文件<option value="window.open('http://www.lshdic.com')">弹出网页窗口<option value="location.href='http://www.lshdic.com'">转到目标网页<option value="location.href='mailto:abc@abc.com'">发送电子邮件<option value="alert('消息内容')">消息对话框<option value="confirm('两种选择')">选择对话框<option value="prompt('请输入密码')">输入对话框<option value="document.body.style.behavior='url(#default#homepage)';document.body.setHomePage(location.href)">设为首页功能<option value="external.AddFavorite(location.href,document.title)">加入收藏夹功能<option value="location.href='view-source:'+location.href">查看源文件功能<option value="opener=null;window.close()">关闭窗口</Optgroup>
<Optgroup label='外观控制类-基本通用' style='color:green'><Option selected=true value="strokeweight='5'">边框粗度改变<Option value="strokecolor='#FF0000'">边框颜色改变<Option value="stroked='false'">隐藏边框<Option value="stroked='true'">显示边框<Option value="fillcolor='#FF0000'">背景颜色改变<Option value="filled='f'">背景空心<Option value="filled='t'">取消背景空心<Option value="Rotation='80'">旋转角度设定<Option value="shadow.color='black';%%%.shadow.offset='3pt,3pt';%%%.shadow.on='t'">增加阴影效果<Option value="shadow.on='f'">取消阴影效果<Option value="extrusion.on='t';%%%.extrusion.foredepth='0';%%%.extrusion.backdepth='20pt';%%%.extrusion.color='#FFFFFF';%%%.extrusion.rotationangle='0,0'">增加立体效果<Option value="extrusion.on='f'">取消立体效果<Option value="fill.color='blue';%%%.fill.type='gradient'">背景渐变颜色填充1<Option value="fill.color='blue';%%%.fill.type='gradientradial'">背景渐变颜色填充2</Optgroup>
<Optgroup label='Css外观控制类-通用' style='color:blue'><Option value="style.display='none'">隐藏<Option value="style.display=''">取消隐藏<Option value="style.left='300'">定位左右位置<Option value="style.top='300'">定位上下位置<Option value="style.zIndex='4'">定位三维高度<Option value="style.width='300'">宽度设定<Option value="style.height='300'">高度设定<Option value="style.filter='alpha(opacity=50,style=0)'">透明度设定<option value="style.filter='fliph'">左右反转<Option value="style.filter='flipv'">上下反转<Option value="style.clip='rect(0 '+%%%.offsetWidth+' '+%%%.offsetHeight+' 0)';clipoldobj=null">恢复流线裁剪效果</Optgroup>
<Optgroup label='流线动画程序-逐渐类' style='color:purple'>
<Option value="style.left=parseInt(%%%.style.left)-2">逐渐向左移动<Option value="style.left=parseInt(%%%.style.left)+2">逐渐向右移动<Option value="style.top=parseInt(%%%.style.top)-2">逐渐向上移动<Option value="style.top=parseInt(%%%.style.top)+2">逐渐向下移动<Option value="style.width=parseInt(%%%.style.width)+2">逐渐宽度增加<Option value="style.width=parseInt(%%%.style.width)-2">逐渐宽度减少<Option value="style.height=parseInt(%%%.style.height)+2">逐渐高度增加<Option value="style.height=parseInt(%%%.style.height)-2">逐渐高度减少<Option value="Rotation+=2">逐渐向右旋转<Option value="Rotation-=2">逐渐向左旋转<Option value="strokeweight+=1">逐渐边框粗度增加<Option value="strokeweight-=1">逐渐边框粗度减少</Optgroup>
<Optgroup label='流线动画程序-重复类' style='color:purple'>
<Option value="style.display=='none'?%%%.style.display='':%%%.style.display='none'">重复隐藏/显示图型<Option value="stroked==false?%%%.stroked=true:%%%.stroked=false">重复隐藏/显示边框<Option value="style.zIndex==50000?%%%.style.zIndex=-10000:%%%.style.zIndex=50000">重复覆盖/被物件覆盖<Option value="strokecolor=='red'?%%%.strokecolor='blue':%%%.strokecolor='red'">重复边框颜色交替<Option value="fillcolor=='red'?%%%.fillcolor='blue':%%%.fillcolor='red'">重复背景颜色交替</Optgroup>
<Optgroup label='流线动画程序-随机类' style='color:purple'>
<Option value="strokecolor='rgb('+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+')'">边框颜色随机变化<Option value="fillcolor='rgb('+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+','+Math.round(Math.random()*255)+')'">背景颜色随机变化<Option value="style.left=Math.round(Math.random()*document.body.offsetWidth-100);%%%.style.top=Math.round(Math.random()*document.body.offsetHeight-100)">图型位置随机移动<Option value="style.width=Math.round(Math.random()*300);%%%.style.height=Math.round(Math.random()*300)">图型大小随机改变<Option value="Rotation=Math.round(Math.random()*360)">图型随机旋转</Optgroup>
<Optgroup label='流线动画程序-滤镜类' style='color:purple'>
<Option value="style.filter='alpha(opacity=100,style=0)';%%%.filters[0].opacity-=2">透明度逐渐减少<Option value="style.filter='alpha(opacity=30,style=0)';%%%.filters[0].opacity+=2">透明度逐渐增加
<Option value="style.filter='wave(add=0,freq=4,lightstrength=5,phase=5,strength=0)';%%%.filters[0].strength+=1">波浪效果增强<Option value="style.filter='wave(add=0,freq=4,lightstrength=5,phase=5,strength=80)';%%%.filters[0].strength-=1">波浪效果减弱<Option value="style.filter='blur(add=0,direction=100,strength=0)';%%%.filters[0].strength+=1">模糊效果增强<Option value="style.filter='blur(add=0,direction=100,strength=60)';%%%.filters[0].strength-=1">模糊效果减弱<Option value="style.filter='glow(color=#e8e965,strength=0)';%%%.filters[0].strength+=1">光辉效果增强<Option value="style.filter='glow(color=#e8e965,strength=60)';%%%.filters[0].strength-=1">光辉效果减弱
<Optgroup label='流线动画程序-特技类' style='color:purple'>
<Option value="fill.color='blue';%%%.fill.type='gradient';%%%.fill.angle-=2">背景右向渐变特技<Option value="fill.color='blue';%%%.fill.type='gradient';%%%.fill.angle+=2">背景左向渐变特技<Option value="dizhen=true;dizhen(%%%,10)">图型地震(单线程)<Option value="dizhen=true;dizhen(window,20)">窗口地震(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,true,false,false)">右裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,false,false,true)">左裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,false,false,false)">上裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,false,true,false)">下裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,true,false,true)">左右裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,false,true,false)">上下裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,false,false,true)">左上裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,false,true,true)">左下裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,true,false,false)">右上裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,true,true,false)">右下裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,true,false,true)">左右上裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,false,true,true,true)">左右下裁剪(单线程)<Option value="caijian1=true;clipcool(%%%,1,true,true,true,true)">四边裁剪(单线程)
</Optgroup>
</select><input type=button class=bon3 value=增加该效果 onclick='var tempops=jianyichengxu.options[jianyichengxu.selectedIndex];if(tempops.parentElement.style.color=="red"){shijiantxt.focus();document.selection.createRange().text=(tempops.value+";");}else{shijiantxt.focus();document.selection.createRange().text=(objorthis+"."+tempops.value.replace(/%%%/g,objorthis)+";");}' style='width:75'>
<br>可用属性:<select id='shijianallobj1' style='width:170'></select><input type=button class=bon3 value=更改该属性 onclick='shijiantxt.focus();document.selection.createRange().text=(objorthis+"."+shijianallobj1.options[shijianallobj1.selectedIndex].text+"=&#39;&#39;;")' style='width:75'>
<br><select id='shijianallobj2'></select><input type=button class=bon3 value=更改该属性 onclick='shijiantxt.focus();document.selection.createRange().text=(objorthis+"."+shijianallobj2.options[shijianallobj2.selectedIndex].text+"=&#39;&#39;;")' style='width:75'>
<br>
<center><input type='button' value='修改' class="bon3" onclick="shijianfun();shijianobj=null;shijiantxt.value='';"><input type=button class=bon3 value=取消 onclick='shijiantxt.value="";shijian1.style.display="none"'>
</span>
<span class=keshi style="display:none;left:expression(document.body.offsetWidth/2-(this.offsetWidth/2));top:expression(document.body.offsetHeight/2-(this.offsetHeight/2));z-index:30000;display:none" id='yuandaima'>   <!--所有原代码-->
<textarea id='txt3' style='width:550;height:270'></textarea><br>
<textarea readonly='true' id='txt3_top' style='width:550;height:130;color:gray'></textarea><br>
<center><b>共<font id=zishu1 color=red>0</font>字,主要代码<font id=zishu1 color=red>0</font>字,头部附加<font id=zishu1 color=red>0</font>字</b>
<input type='button' value='复制全部' class="bon3" onclick="window.clipboardData.setData('text',txt3_top.value+txt3.value+'</BODY>/n</HTML>');alert('已将数据复制到系统剪切板')" style=width:60> <input style=width:60 type='button' value='更新修改' class="bon3" onclick="div1.innerHTML=txt3.value.replace(/ onmouse/g,' temp_onmouse').replace(/ onkey/g,' temp_onkey').replace(/ (onclick|ondblclick)/g,' temp_$1');yuandaima.style.display='none'"> <input style=width:60 type='button' value='取消' class="bon3" onclick="yuandaima.style.display='none'"> </span>
<span class=keshi style="display:none;text-align:left" id='jiaoben'>   <!--我的脚本仓库-->
&lt;script id="myscript" language="javascript"&gt;<br>
<textarea id='jiaobentxt' style='width:350;height:250'></textarea><br>
function window.onload(){<br>
<textarea id='jiaoben_load' style='width:350;height:100'></textarea><br>
}&lt;/script&gt;<br>
<input type='button' value='修改' class="bon3" onclick="wodejiaoben=jiaobentxt.value;onloadjiaobenstr=jiaoben_load.value;jiaoben.style.display='none'"> <input type='button' value='取消' class="bon3" onclick="jiaoben.style.display='none'">
</span>
<span style='position:absolute;z-index:40000;display:none' id='menu1'>    <!--弹出菜单1-->
<input type=button class=bon3 value=置前 onclick='zz+=1;thisobj.style.zIndex=zz;menu1.style.display="none"'><br>
<input type=button class=bon3 value=置后 onclick='zz2-=1;thisobj.style.zIndex=zz2;menu1.style.display="none"'><br>
<input type=button class=bon3 value=复制 onclick='div1.innerHTML+=thisobj.outerHTML;if(div1.lastChild.id!=""){nextid++;div1.lastChild.id=open_var+nextid};if(fuzhitixing==false){alert("复制完成,请使用选移功能拖动");fuzhitixing=true};menu1.style.display="none";for(i=0;i<huabi.length;i++)if(huabi[i].className!="bon2")huabi[i].className="bon2";huabi[19].className="bon1";div1.style.cursor="hand"' id=fuzhi><br>
<input type=button class=bon3 value=删除 onclick='thisobj.outerHTML="";menu1.style.display="none"' id=shanchu style='border-bottom:3 solid maroon'><br>
<input type=button class=bon3 value=裁剪 onclick='if(thisobj.style.clip!=""){if(confirm("这将取消目标现有的裁剪效果然后才可裁剪,你确定么?"))thisobj.style.clip="rect(0 "+thisobj.offsetWidth+" "+thisobj.offsetHeight+" 0)";else return false}caijian.style.left=thisobj.offsetLeft-caijianjuli;caijian.style.top=thisobj.offsetTop-caijianjuli;caijian.style.width=thisobj.offsetWidth+(caijianjuli*2);caijian.style.height=thisobj.offsetHeight+(caijianjuli*2);caijian.style.display="";menu1.style.display="none"' onmousemove='showhelp("裁剪目标图型的上、右、下、左边缘")'><br>
<input type=button class=bon3 value=放大 onclick='fangda(thisobj);menu1.style.display="none"' onmousemove='showhelp("放大单个图型对象,对线条类图型无效")'><br>
<input type=button class=bon3 value=缩小 onclick='suoxiao(thisobj);menu1.style.display="none"' onmousemove='showhelp("缩小单个图型对象,对线条类图型无效")' style='border-bottom:3 solid maroon'><br>
<input type=button class=bon3 value=取消 onclick='menu1.style.display="none"' style='color:black;font-weight:bold'>
</span>
<span style='position:absolute;z-index:40000;display:none' id='menu2'>    <!--弹出菜单2-->
<input type=button class=bon3 value=网格 onclick='wangge();menu2.style.display="none"'><br>
<input type=button class=bon3 value=取消 onclick='menu2.style.display="none"' style='color:black;font-weight:bold'>
</span>

<TABLE cellspacing=0 cellpadding=0 align=center style='position:absolute;left:3;top:20;z-index:2999' onmousedown='if(event.srcElement.tagName=="CENTER"&&event.button==1){moveok=1;setCapture();xx=event.x-this.offsetLeft;yy=event.y-this.offsetTop;}' onmousemove="if(moveok==1){this.style.left=event.x-xx;this.style.top=event.y-yy;}" onmouseup='moveok=0;releaseCapture();if(parseInt(this.style.top)<-10){alert("工具栏高度不能低于页面最顶部");this.style.top=20}if(event.srcElement.tagName=="CENTER"&&event.button==2){this.style.zIndex==2999?this.style.zIndex=6000:this.style.zIndex=2999;}' id=gongjulan3>
<tr><Td style='padding:3;'><center id=cen>编程工具(4) <input type=button class=bon2 value=× style='width:20;height:15' onmousemove='showhelp("关闭不是必要的[编程//动画]创作工具栏,进行FYWVml3.0时代基本的静态图像绘制作业")' onclick="gongjulan3.style.display='none';xianshigongju.style.display=''"></td></tr>
<Tr><td><input type=button class=bon3 value=下载LD2005 style='width:105' onmousemove='showhelp("下载由FYW原创的编程利器《网络程序员伴侣(Lshdic)2005》软件<br>在本地专业的配合flashvml2.0开发复杂的游戏、动画程序")' onclick="window.open('http://www.google.com/search?hl=zh-CN&q=%E7%BD%91%E7%BB%9C%E7%A8%8B%E5%BA%8F%E5%91%98%E4%BC%B4%E4%BE%A3%28Lshdic%292005&btnG=Google%E6%90%9C%E7%B4%A2&lr=')"></td></tr>
<Tr><td><input type=button class=bon3 value=我的脚本仓库 style='width:105' onmousemove='showhelp("在这个[我的Script脚本仓库]里,你可以自行编写编程所需的函数、变量<br>以便于此后进行事件编程、动画创作时动态调用")' onclick="jiaoben.style.left=event.x+100;jiaoben.style.top=event.y;jiaobentxt.value=wodejiaoben;jiaoben_load.value=onloadjiaobenstr;jiaoben.style.display==''?jiaoben.style.display='none':jiaoben.style.display=''"></td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("查看及修改指定图型用以编程的ID属性")'>定义ID标识</td></tr>
<Tr><td><label for='yesaddnextid' onmousemove='showhelp("当复选框打勾时,每绘制一个新图型回自动为该图型增加一个随机ID方便编写程序")' value='绘图时自动添加'>绘图时自动添加</label><input type='checkbox' checked id='yesaddnextid' onmousemove='showhelp("当复选框打勾时,每绘制一个新图型会自动为该图型增加一个随机ID方便编写程序")' value='绘图时自动添加'></td></tr>
<Tr><td><label for='pingbicuowu' onmousemove='showhelp("当复选框打勾时,会防止你的事件、动画程序在运行出错时弹出错误提示")' value='运行时屏蔽错误'>运行时屏蔽错误</label><input type='checkbox' checked id='pingbicuowu' onmousemove='showhelp("当复选框打勾时,会防止你的事件、动画程序在运行出错时弹出错误提示")' value='运行时屏蔽错误'></td></tr>

<tr><Td style='padding:3;'><center id=cen>事件编程(5)</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onclick")'>左键单击时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("ondblclick")'>双击左键时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onmousedown")'>鼠标按下时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onmouseup")'>鼠标弹起时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onmouseover")'>鼠标靠近时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onmouseout")'>鼠标离开时</td></tr>
<Tr><td><button class=bon2 id=huabi style='width:105' onmousemove='showhelp("onmousemove")'>鼠标移动时</td></tr>
<tr><Td style='padding:3;'><center id=cen>动画创作(6)</td></tr>
<Tr><td><select id=allid onmouseover='getallid()' onchange='objorthis=this.options[this.selectedIndex].text;biaoshifun(objorthis);' onmouseup="if(event.button==2&&this.options.length!=1){if(confirm('你想把画板内图型的所有ID标识清除?')){for(i=this.options.length;i>1;i--){document.all(this.options[i-1].text).id='';this.remove(i);}}}" style='width:105' size=5><option selected>可用的对象ID</select></td></tr>
<Tr><td><select id='miaozhong' style='width:105' onchange='fenzhong.selectedIndex=0'><option>秒钟动作<script>tempstr1="";for(i=1;i<600;i++){if(i%60!=0)tempstr1+=("<option>"+i);}document.write(tempstr1)</script></select></td></tr>
<Tr><td><select id='fenzhong' style='width:105' onchange='miaozhong.selectedIndex=0'><option>分钟动作<script>tempstr1="";for(i=1;i<201;i++){tempstr1+=("<option>"+i);}document.write(tempstr1)</script></select></td></tr>
<Tr><td align='center'><label for='xunhuan1'>结束时循环播放</label><input type='checkbox' checked id='xunhuan1'></td></tr>
<Tr><td><input type=button class=bon3 value=编辑动画程序 onmousemove='showhelp("编写侦式动画程序")' onclick="if(miaozhong.selectedIndex==0&&fenzhong.selectedIndex==0){alert('编辑动画程序前,必须指定一个[秒钟]或[分钟]');return false}if(allid.selectedIndex==0){alert('编辑动画程序前,必须指定一个[可用的对象ID],可以使用[定义ID标识]功能定义');return false};whodonghua=true;donghuachengxu(allid.options[allid.selectedIndex].text)" style='width:105'></td></tr>
<tr><Td style='padding:3;'><center id=cen>流线动画创作(7)</td></tr>
<Tr><td><select id='dianchi1' style='width:105' onchange='dianchi=this.selectedIndex;shijian1.style.display="none";dianchitime1[dianchi]==null?qishimiao.value="":qishimiao.value=dianchitime1[dianchi];dianchitime2[dianchi]==null?haomiaobuchang.value="":haomiaobuchang.value=dianchitime2[dianchi];dianchitime3[dianchi]==null?jieshumiaozhong.value="":jieshumiaozhong.value=dianchitime3[dianchi];'><script>tempstr1="";for(i=1;i<100;i++){tempstr1+=("<option value="+i+">动画蓄电池"+i);}document.write(tempstr1)</script></select></td></tr>
<tr><Td>起始秒钟<input style='border:1 solid black;width:54;height:17;' value='1' id=qishimiao onmousemove='showhelp("支持小数点数字,最小值0.1")'></td></tr>
<tr><Td>毫秒步长<input style='border:1 solid black;width:54;height:17;' value='20' id=haomiaobuchang onmousemove='showhelp("最小值建议为10毫秒速度最快")'></td></tr>
<tr><Td>结束秒钟<input style='border:1 solid black;width:54;height:17;' value='5' id=jieshumiaozhong onmousemove='showhelp("支持小数点数字,最小值0.3")'></td></tr>
<Tr><td><input type=button class=bon3 value=编辑动画程序 onmousemove='showhelp("编辑存储于["+dianchi1.options[dianchi1.selectedIndex].text+"]的流线动画程序")' onclick="if(allid.selectedIndex==0){alert('编辑动画程序前,必须指定一个[可用的对象ID],可以使用[定义ID标识]功能定义');return false};str1=qishimiao.value;str2=haomiaobuchang.value;str3=jieshumiaozhong.value;if(str1==''||str2==''||str3==''){alert('起始秒种、毫秒步长、结束秒钟,这些数据必须填写');return false};if(isNaN(str1)||isNaN(str2)||isNaN(str3)){alert('起始秒种、毫秒步长、结束秒钟,这些数据格式必须是数字');return false};if(str1<0.1||str2<1||str3<0.3){alert('起始秒种、毫秒步长、结束秒钟,这些数据不能存在负数,并不能小于其最小限度值');return false};if(parseInt(str1)>parseInt(str3)){alert('起始与结束的概念,被你弄返了');return false};if(str2/1000>=str3-str1){alert('毫秒步长不能大于[结束秒种-起始秒钟]的值');return false};whodonghua=false;donghuachengxu(allid.options[allid.selectedIndex].text)" style='width:105'></td></tr>
</td></tr></table>

<TABLE cellspacing=0 cellpadding=0 align=center style='position:absolute;left:expression(document.body.offsetWidth/2-(this.offsetWidth/2));top:1;z-index:3000' onmousedown='if(event.srcElement.tagName=="CENTER"&&event.button==1){moveok=1;setCapture();xx=event.x-this.offsetLeft;yy=event.y-this.offsetTop;}' onmousemove="if(moveok==1){this.style.left=event.x-xx;this.style.top=event.y-yy;}" onmouseup='moveok=0;releaseCapture();if(parseInt(this.style.top)<-10){alert("工具栏高度不能低于页面最顶部");this.style.top=1}if(event.srcElement.tagName=="CENTER"&&event.button==2){this.style.zIndex==3000?this.style.zIndex=6000:this.style.zIndex=3000;}'>
<tr><Td style='padding:3;border-right:1 solid gray;'><center id=cen>画笔选择(1) <font onclick="alert('如何下载FlashVml(FVML)2.0:/n/n如何下载fvml2在本地直接使用?/n你只需将本页另存(文件名.htm)至你的本地硬盘即可(只是不包括帮助手册)/n如需要下载完整的fvml2(包括帮助手册),请登陆Google搜索FlashVml2.0/n/nFlashVml(FVML)2.0核心程序简介:/n/n源码构成:Js+Dhtml+(HTML+Css+Vml)、一页源码、另存即用/n/nFlashVml(FVML)2.0简介:/n/n授权使用:共享/免费/源码未加密+带注释+完全公开/n多重功能:Vml可视化设计/学习工具、在线绘图、Vml-Flash动画创作、VML-3D网页开发工具/n多重代言:WEB上的PhotoShop+Flash、让VML此刻未来身价百倍、WEB页的魔法师/革命家/VML闪客/n         IE可视化开发工具的里程碑、最强Vml开发工具、震撼WEB的定时炸弹/n/nFlashVml(FVML)2.0疑问:/n/nPS:如何保存画板内所绘图像为图像文件(jpg/gif)?/nRE:用截图软件/nPS:是否能将作品源码上传?/nRE:未有固定服务器,不提供该服务,但FVML很容易与后台程序结合/nPS:制做VML动画是不是要会HTML/CSS/VML/JS/DHTML编程?/nRE:一点不会只能用fvml提供的动画效果,编程水准是左右创作VML高级动画效果关键/nPS:我已经将源码保存为文件了,怎样在次打开编辑?/nRE:我的程序操纵你的电脑文件你放心么?可活用[查看及修改源码]替代打开文件功能/nPS:画布有必要弄那么大么?还要上、下滚动条?/nRE:你如果用fvml设计的是一个800*600或更高的3D网页,小了能行么?/nPS:我看fvml的界面不喜欢很难看,那么多的按钮眼都花了不知什么用/nRE:十人添袖有八味。不下工夫怎想就VML之有成?fvml按钮、逻辑、提示为你想的很多了。/nPS:fvml只能在线互联网上用?/nRE:当然不是,你完全可以将fvml做为应用软件般在你的电脑当作桌面常用软件使用')" class=zhongyao onmouseover='this.style.color="blue"' onmouseout='this.style.color="red"'>下载FlashVml2.0</font> <font onclick="gongjulan3.style.display='';this.style.display='none';" class=zhongyao style="display:none;" id=xianshigongju onmouseover='this.style.color="blue"' onmouseout='this.style.color="red"' onmousemove='showhelp("当您已熟悉flashvml2.0的静态绘图功能时<br>可以进一步领略flashvml2.0对程序、动画的设计功能")' value='显示编程/动画工具栏'>显示编程/动画工具栏</font></td><td style='padding:3;border-left:1 solid white;'><center id=cen>图型编辑(3) <font onclick="window.open('flashvml/helpflash.htm');" class=zhongyao onmouseover='this.style.color="blue"' onmouseout='this.style.color="red"' onmousemove='showhelp("播放flashvml2.0的功能演示影片")' value='入门动画教程'>入门动画教程</font> <font class=zhongyao onclick="window.open('flashvml/helptool.htm');" onmousemove='showhelp("入门必看,flashvml2.0图解教程")' onmouseover='this.style.color="blue"' onmouseout='this.style.color="red"' value='入门图解教程'>入门图解教程</font> <font id=fywvmlhelp class=zhongyao onclick="window.open('flashvml/index.htm');" onmousemove='showhelp("打开FlashVml的帮助文件,帮助文件有详细的教程、演示范例、FlashVml版本及原理信息")' onmouseover='this.style.color="blue"' onmouseout='this.style.color="red"' value='详细帮助手册'>详细帮助手册</font></td></tr>
<Tr>
<td style='border-right:1 solid gray'><button class=bon2 id=huabi onmousemove='showhelp("按住左键写字、划画")'>铅笔<button class=bon1 id=huabi onmousemove='showhelp("按住左键移动光标")'>直线<button class=bon2 id=huabi onmousemove='showhelp("按住左键移动光标")'>圆型<button class=bon2 id=huabi onmousemove='showhelp("按住左键移动光标")'>长方型<button class=bon2 id=huabi onmousemove='showhelp("以连续点击、移动左键的规律决定每条线的路径,所绘图型由N条线段组成")'>记忆线<button class=bon2 id=huabi onmousemove='showhelp("以连续点击、移动左键的规律决定每条线的路径,所绘图型为一个整体")'>记忆线2</button><br>
<button class=bon2 id=huabi onmousemove='showhelp("按住左键移动光标")'>圆矩型<button class=bon2 id=huabi onmousemove='showhelp("按住左键移动光标即")'>弧型<button class=bon2 id=huabi onmousemove='showhelp("(贝塞尔斯曲线):以连续点击、移动左键的规律决定曲线长度、角度1、角度2")'>贝塞曲<button class=bon2 id=huabi onmousemove='showhelp("单击左键在目标位置插入")'>文字&

【上篇】
【下篇】

抱歉!评论已关闭.