极品--FlashVml(璀灿之星)4.5 - web上的PhotoShop

    技术2022-05-11  15

    <HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><HEAD><META http-equiv="Content-Type" content="text/html;Charset=gb2312"><META name="GENERATOR content="网络程序员伴侣(Lshdic)2005"><META name="KeyWords" content="flashvml,璀灿之星,vml极道教程,vml,vmlflash,FYW,lshdic"><title>FlashVml(璀灿之星)4.5 - 多媒体Vml.Web(矢量2D/3D网页、图形图像、动画、UI、DVML编程、可视化开发系统)</title><link rel=stylesheet href="rs/fvml_css.css" type="text/css"></HEAD><BODY οnscrοll='a_bsleft=document.body.scrollLeft;a_bstop=document.body.scrollTop;try{if(a_srtime==null&&hb_scroll==true)a_srtime=setTimeout("mvgj()",500)}catch(e){}' οncοntextmenu='var t_evt=event.srcElement;if(t_evt.tagName!="TEXTAREA"){if(t_evt.tagName=="INPUT"){if(t_evt.type=="text")return true}return false}' onselectstart='var t_evt=event.srcElement.tagName;if(t_evt!="TEXTAREA"&&t_evt!="INPUT")return false' onhelp='helplai();return false'style='margin:0;cursor:default;border:1 solid black;scrollbar-base-color:purple;scrollbar-shadow-color:white;scrollbar-highlight-color:white;scrollbar-arrow-color:white;' vlink=#3732CD link=#3732CD><base target=_blank><script>function window.onerror(){return true}function jiazai(f_jztext){window.status="FlashVml(璀灿之星)4.5 -- "+f_jztext+"资源加载中...."}var a_bsleft=0,a_bstop=0  //记录body的滚动条位置,为了加速var a_srtime=null  //滚动条相关定时器var n="none"  //节省字数变量function mvgj(){  //定时移动工具栏配合滚动条位置var t_bw=document.body.offsetWidthgjlan1.style.left=a_bsleft+t_bw/2-(gjlan1.offsetWidth/2)gjlan2.style.left=a_bsleft+t_bw-gjlan2.offsetWidth-20gjlan3.style.left=a_bsleft+3;gjlan2.style.top=a_bstop;gjlan3.style.top=a_bstop+25clearTimeout(a_srtime);a_srtime=null}function window.onresize(){if(a_srtime==null&&hb_scroll==true)a_srtime=setTimeout("mvgj()",500)}

    function adlist(f_min,f_max,f_step,f_qtxt,f_htxt,f_tofixed){  //下拉菜单数据追加if(f_step==undefined)f_step=1; else f_step=new Number(f_step)f_qtxt==undefined?f_qtxt="":f_qtxt=f_qtxtf_htxt==undefined?f_htxt="":f_htxt=f_htxtf_tofixed==undefined?f_tofixed=0:f_tofixed=f_tofixed;;var t_ary1=[],t_sms=0if(f_min>f_max){for(i=f_min;i>f_max;i-=f_step){t_ary1[t_sms++]=(f_qtxt+new String(new Number(i).toFixed(f_tofixed))+f_htxt)}}else{for(i=f_min;i<f_max;i+=f_step){t_ary1[t_sms++]=(f_qtxt+new String(new Number(i).toFixed(f_tofixed))+f_htxt)}}document.write("<option>"+t_ary1.join(',').replace(/,/g,"<option>"))}

    var uidom=new ActiveXObject("Microsoft.XMLDOM")uidom.async=false;uidom.load("rs/fvml_uixml.xml");var datadom=new ActiveXObject("Microsoft.XMLDOM")datadom.async=falsedatadom.load("rs/fvml_dataxml.xml");if(uidom.parseError.errorCode!=0)alert("异常:UI-XML文件加载错误!程序将无法正常运行!")if(datadom.parseError.errorCode!=0)alert("异常:DATA-XML文件加载错误!程序将无法正常运行!")function getxml(f_nodename,f_whoxml){  //获取XML节点数据var t_dom=uidomif(f_whoxml==1){t_dom=datadomreturn t_dom.getElementsByTagName(f_nodename)[0].text}var t_ay=f_nodename.split(",")if(t_ay.length!=0){for(i=0;i<t_ay.length;i++){document.write(t_dom.getElementsByTagName(t_ay[i])[0].text+"/n/n")}}else{document.write(t_dom.getElementsByTagName(f_nodename)[0].text+"/n/n")}}function gets(snumber){  //获取写给用户的脚本var tempdom=datadom.getElementsByTagName("s"+snumber),tempstr=[],tempstr1="",tempdom2=tempdom.lengthfor(i=0;i<tempdom2;i++){if(tempdom[i].getAttributeNode("d")!=null){tempstr1=(" jiazai="+tempdom[i].getAttributeNode("d").nodeValue);}else tempstr1=""tempstr[i]="<option value="+tempdom[i].text+tempstr1+">"+tempdom[i].getAttributeNode("v").nodeValue}document.write(tempstr.join(""))}function getxvalue(whonode1,snumber1,snumber2){    //XML属性获取return datadom.getElementsByTagName("styles")[snumber1].getAttributeNode("v"+snumber2).nodeValue}

    jiazai("UI动画与CG图形")getxml("cg1,helpmenu,about,popmenu,showtitle,server")  //输出启动欢迎动画、F1帮助菜单、关于对话框、右键菜单、动态提示、服务器端程序jiazai("UI用户交互可视化物件")getxml("keshihua")  //输出各种动态可视化设计工具jiazai("UI界面驱动程序引擎")</script><script language="javascript" src="rs/fvml_uijs.js"></script><script>jiazai("UI界面存取程式加载中")

     //画板初期状态存储变量var fvmlhb="4.5"var hb_ys="#EEEEEE",hb_bt="我的作品",hb_zdh=true,hb_gdt=0var hb_gdtcor="purple",hb_addid=true,hb_killerr=truevar hb_coks=1,hb_wg="50px",hb_wgse="#5fb6f6",hb_hy=truevar hb_scroll=true,hb_tishi=true,hb_jzwid=450,hb_jzhei=260var hb_jzcor="navy",hb_jz=true,hb_jmfg=1,hb_ysj="未知"var hb_usemenu=true,hb_jmbx=1,hb_gjtm=falsevar mvtime=null,nonos="none"function delcks(){   //删除COOKIESvar dates = new Date();dates.setDate(dates.getDate()-1000);document.cookie="fvml1=1;expires="+dates.toGMTString() }function setcks(){   //设定COOKIESvar dates=new Date() dates.setDate(dates.getDate()+365) //cookies过期时间1年document.cookie="fvml1="+huabutab.width+","+hb_ys+","+hb_gdtcor+","+hb_bt+","+hb_zdh+","+hb_gdt+","+yesaddnextid.checked+","+pbcw.checked+","+xunhuan1.checked+","+hb_coks+","+hb_wg+","+hb_wgse+","+hb_hy+","+hb_scroll+","+hb_tishi+","+hb_jzwid+","+hb_jzhei+","+hb_jzcor+","+hb_jz+","+hb_jmfg+","+hb_ysj+","+hb_usemenu+","+hb_jmbx+","+hb_gjtm+";expires="+dates.toGMTString() }function getcks(){   //读取COOKIESif(document.cookie=="")return false;cookies=document.cookie.split('; ')temp1=-1for(i=0;i<cookies.length;i++){if(cookies[i].indexOf("fvml1=")==0)temp1=i}  //找到flashvml的COOKIES存储组if(temp1==-1)return falsecks=cookies[temp1].substr(6).split(",")  //逗号分割if(cks.length!=24){  //如果cks小于本版正常的数组数,那么就删除、使用默认设置alert(getxml("msg2",1));delcks();return false}hb_coks=cks[9]if(hb_coks==0){delcks();return false}  //如果是cookies不存储,删除COOKIEShuabutab.width=cks[0];huabutab.height=cks[0]  //设置启动值div1.style.backgroundColor=cks[1];hb_ys=cks[1]document.body.style.scrollbarBaseColor=cks[2];hb_gdtcor=cks[2]hb_bt=cks[3]if(cks[4]=="false")hb_zdh=falsehb_gdt=cks[5]if(cks[6]=="false")yesaddnextid.checked=falseif(cks[7]=="false")pbcw.checked=falseif(cks[8]=="false")xunhuan1.checked=falseif(cks[12]=="false")hb_hy=falseif(cks[13]=="false")hb_scroll=falseif(cks[14]=="false")hb_tishi=falsehb_jzwid=cks[15];hb_jzhei=cks[16];hb_jzcor=cks[17];if(cks[18]=="false")hb_jz=falsehb_wg=cks[10];hb_wgse=cks[11];hb_jmfg=cks[19]hb_ysj=cks[20]if(cks[21]=="false")hb_usemenu=falsehb_jmbx=cks[22]if(cks[23]=="true")hb_gjtm=trueif(hb_jmfg!=1||hb_jmbx!=1||hb_gjtm!=false)csschange(hb_jmfg,hb_jmbx,hb_gjtm)}

    if(screen.width<1024||screen.height<768){alert(getxml("msg1",1));}var fvmlfun="",fvml2fun="",stchangfun=""  //决定是否在编译window.onload()时插入相关函数脚本var xx=0,yy=0,moveok=0var loadjbstr=""  //存储用户对onload()函数所做的修改function onloadstr(wtonload){if(wtοnlοad==true){jtempp="/n"+fvmlfun+fvml2fun+stchangfun}else{jtempp=""}if(loadjbstr!=""){jtempp2="/n"+loadjbstr+"/n"}else{jtempp2=""}return "<script>/n//页面启动更新函数/nvar ltime=null,ltext='if(document.readyState!=/"complete/"){status=status+/"./"}else{clearInterval(ltime);status=/"艺术家:"+hb_ysj+",出品日期:"+new Date().toLocaleString()+"/"}';/nstatus='页面资源正在加载,请等待.'/nltime=setInterval(ltext,200)/nfunction window.onload(){"+jtempp+jtempp2+"}/n;;;/script>"}jiazai("工具栏1(编程、动画设计器)加载中")</script><TABLE class=tooltab cellspacing=0 cellpadding=0 align=center style='left:3;top:20;z-index:2999' οnmοusedοwn='if(event.srcElement.tagName=="CENTER"&&event.button==1){moveok=1;setCapture();xx=event.x-offsetLeft;yy=event.y-offsetTop;}' οnmοusemοve="if(moveok==1){style.left=event.x-xx;style.top=event.y-yy;}" οnmοuseup='moveok=0;releaseCapture();if(parseInt(style.top)<-10){alert("工具栏高度不能低于页面最顶部");style.top=20}if(event.srcElement.tagName=="CENTER"&&event.button==2){style.zIndex==2999?style.zIndex=6000:style.zIndex=2999;}' id=gjlan3><tr><Td style='padding:3;'><center id=cen>编程工具(4) <input type=button class=bon2 value=× style='width:20;height:15' οnmοusemοve='sos("关闭不是必要的[编程//动画]创作工具栏,进行静态绘图作业")' οnclick="gjlan3.style.display=n;xsgj.style.display=''"></td></tr><Tr><td><input type=button class=bon3 value=我的脚本仓库 style=width:105 οnmοusemοve='sos("在[我的Script脚本仓库]里,你可以自行编写编程所需的函数、变量<br>以便此后进行事件编程、动画创作时调用")' οnclick="jb.style.left=a_bsleft+event.x+100;jb.style.top=a_bstop+event.y+30;jbtxt.value=wodejb;jb_load.value=loadjbstr;jb.style.display==''?jb.style.display=n:jb.style.display=''"></td></tr><Tr><td><input type=button class=bon3 value=下载LD5 style=width:52 οnmοusemοve='sos("下载由作者原创的编程利器《网络程序员伴侣(Lshdic)2005》软件<br>在本地专业的配合FlashVml开发复杂的游戏、动画程序")' οnclick="window.open('http://www.google.com/search?hl=zh-CN&q=网络程序员伴侣(Lshdic)2005&btnG=Google搜索&lr=')"><button class=bon2 id=hb style=width:53 οnmοusemοve='sos("查看及修改指定图形用以编程的ID属性")'>定义ID</td></tr><Tr><td><label for='yesaddnextid' οnmοusemοve='sos("当复选框打勾时,每绘制一个新图形会自动为该图形增加一个顺序ID方便编写程序")' value='绘图时自动添加'>绘图时自动添加</label><input type=checkbox checked id=yesaddnextid></td></tr><Tr><td><label for='pbcw' οnmοusemοve='sos("当复选框打勾时,会防止你的事件、动画程序在运行出错时弹出错误提示")' value='运行时屏蔽错误'>运行时屏蔽错误</label><input type=checkbox checked id=pbcw></td></tr><tr><Td style='padding:3;'><center id=cen>事件编程(5)</td></tr><Tr><td><select style=width:70 id=selectsj οnchange='for(i=0;i<hb.length;i++)if(hb[i].className!="bon2")hb[i].className="bon2";hbsj.className="bon1";div1.style.cursor="hand";'><option value=click>左键单击时<option value=dblclick>双击左键时<option value=mousedown>鼠标按下时<option value=mouseup>鼠标弹起时<option value=mouseover>鼠标靠近时<option value=mouseout>鼠标离开时<option value=mousemove>鼠标移动时</select><button name=hbsj class=bon2 id=hb style=width:35 οnmοusemοve='sos("选择一个事件后,左键单进画布内的图形进行该事件所触发的程序编写")'>增加</td></tr><tr><Td style='padding:3;'><center id=cen>动画创作(6)</td></tr><Tr><td><select id=allid οnmοuseοver='getallid()' οnchange='objorthis=options[selectedIndex].text;biaoshifun(objorthis);' οnmοuseup="if(event.button==2&&options.length!=1){if(confirm('你想把画板内图形的所有ID标识清除?')){for(i=options.length;i>1;i--){eval(options[i-1].text).id='';remove(i);}}}" style=width:105 size=5><option selected>可用的对象ID</select></td></tr><Tr><td><select id=mz style=width:52><option>秒钟<script>adlist(1,301)</script></select><select id=pianchang style=width:52 οnchange="miaoselchange(options[selectedIndex].value)"><option>片长<script>adlist(5,125,5)</script></select></td></tr><script>function miaoselchange(changdulen){  //更新秒钟总数if(changdulen=="")return falsesj1.style.display=n;changdulen=parseInt(changdulen)

    var opstemp1=[]for(i=1;i<60*changdulen+1;i++){opstemp1[i]=i}

    mz.outerHTML="<select id=mz style=width:52><option>秒钟"+opstemp1.join("a").replace(/a/g,"<option>")+"</select>";for(i=0;i<miaoarray.length;i++){if(miaoarray[i]!=null){try{mz.options[i].style.backgroundColor="yellow"}catch(e){}}}pianchang.options[0].selected=true}</script><Tr><td align=center><label for=xunhuan1>结束时循环播放</label><input type=checkbox checked id=xunhuan1></td></tr><Tr><td><input type=button class=bon3 value=编辑侦动画程序 οnmοusemοve=sos("编写侦式动画程序") οnclick="if(mz.selectedIndex==0){alert('编辑动画程序前,必须指定一个[秒钟]');return false}if(allid.selectedIndex==0){alert('编辑动画程序前,必须指定一个[可用的对象ID],可以使用[定义ID标识]功能定义');return false};whodh=true;dhchxu(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=dci1 style=width:105 οnchange='dci=selectedIndex;sj1.style.display=n;dcitime1[dci]==null?qsm.value="":qsm.value=dcitime1[dci];dcitime2[dci]==null?hmbc.value="":hmbc.value=dcitime2[dci];dcitime3[dci]==null?jsmz.value="":jsmz.value=dcitime3[dci];'><script>adlist(1,201,1,"动画蓄电池");</script></select></td></tr><tr><Td>起始秒钟<input style="border:1 solid aaaaaa;width:54;height:17" value=1 id=qsm οnmοusemοve=sos("支持小数点数字,最小值0.1")></td></tr><tr><Td>毫秒步长<input style="border:1 solid aaaaaa;width:54;height:17" value=20 id=hmbc οnmοusemοve=sos("最小值建议为10毫秒速度最快")></td></tr><tr><Td>结束秒钟<input style="border:1 solid aaaaaa;width:54;height:17" value=5 id=jsmz οnmοusemοve=sos("支持小数点数字,最小值0.3")></td></tr><Tr><td><input type=button class=bon3 value=编辑流线动画程序 οnmοusemοve='sos("编辑存储于["+dci1.options[dci1.selectedIndex].text+"]的流线动画程序")' οnclick="if(allid.selectedIndex==0){alert('编辑动画程序前,必须指定一个[可用的对象ID],可以使用[定义ID标识]功能定义');return false};str1=qsm.value;str2=hmbc.value;str3=jsmz.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};whodh=false;dhchxu(allid.options[allid.selectedIndex].text)" style=width:105></td></tr></td></tr></table>

    <script>jiazai("工具栏2(图形画笔、图形处理)设计器")</script><TABLE class=tooltab cellspacing=0 cellpadding=0 align=center style='left:150;top:1;z-index:3000' οnmοusedοwn='if(event.srcElement.tagName=="CENTER"&&event.button==1){moveok=1;setCapture();xx=event.x-offsetLeft;yy=event.y-offsetTop;}' οnmοusemοve="if(moveok==1){style.left=event.x-xx;style.top=event.y-yy;}" οnmοuseup='moveok=0;releaseCapture();if(parseInt(style.top)<-10){alert("工具栏高度不能低于页面最顶部");style.top=1}if(event.srcElement.tagName=="CENTER"&&event.button==2){style.zIndex==3000?style.zIndex=6000:style.zIndex=3000;}' id=gjlan1><tr><Td style=padding:3;border-right:1 solid gray;><center id=cen>图形(1) <font οnclick="gjlan3.style.display='';style.display=n;" class=zhongyao style=display:none; id=xsgj οnmοuseοver=style.color="blue" οnmοuseοut=style.color="red" οnmοusemοve='sos("当您已熟悉FlashVml的静态绘图功能时<br>可以进一步领略FlashVml对程序、动画的设计功能")' value='显示编程/动画工具栏'>显示编程/动画工具栏</font></td><td style=padding:3;border-left:1 solid white;><center id=cen>处理(3) <font οnclick="alert('将打开flashvml主页-蓝丽网下载窗口,如暂时性无法访问/n请于GOOGLE搜索FlashVml4.5其他下载地址');window.open('http://www.lshdic.cn/flashvml.asp')" class=zhongyao οnmοuseοver=style.color="rgb("+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+")" οnmοuseοut=style.color="">下载FlashVml4.5</font> <font οnclick="helplai()" class=zhongyao οnmοuseοver=style.color="rgb("+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+","+Math.round(Math.random()*255)+")" οnmοuseοut=style.color="">演示与帮助(F1)</font></td></tr><Tr><td style=border-right:1 solid gray><button ps=铅笔 class=bon2 id=hb οnmοusemοve=sos("按住左键写字、划画")><v:shape style=position:static;WIDTH:5px;HEIGHT:5px coordsize=5,5 filled=f path=" m0,0 l0,0,10,7,11,7,13,6,17,0,17,-1,17,-2,17,0,17,1,18,4,18,7,19,8,19,9,21,9,24,8,26,7,28,5,29,5,30,5,31,5 33,5,35,5,38,4,41 e" strokeweight='1px'/><button ps=直线 class=bon1 id=hb οnmοusemοve=sos("按住左键移动光标") style=text-align:left><v:line from=5pt,3pt to=30pt,9pt strokeweight='1px'/><button ps=圆型 class=bon2 id=hb οnmοusemοve=sos("按住左键移动光标")><v:oval style=position:static;WIDTH:20;HEIGHT:11 filled=f strokeweight='1px'/><button ps=长方型 class=bon2 id=hb οnmοusemοve=sos("按住左键移动光标")><v:rect filled=f style=position:static;WIDTH:20;HEIGHT:11  strokeweight='1px'/><button ps=多边型 class=bon2 id=hb οnmοusemοve=sos("以连续点击、移动左键的规律决定每条线的路径,所绘图形为一个整体")><v:shape filled=f style=position:static;WIDTH:5;HEIGHT:5 coordsize=5,5 strokeweight=1px path="m0,0 l0,0,15,-10,30,0,0,0 e"/></button><br><button ps=圆矩型 class=bon2 id=hb οnmοusemοve=sos("按住左键移动光标")><v:roundrect filled=f style=position:static;WIDTH:20;HEIGHT:12 arcsize=19661f strokeweight='1px'/><button ps=弧型 class=bon2 id=hb οnmοusemοve=sos("按住左键移动光标即可")><v:arc filled=f style=position:static;WIDTH:26;HEIGHT:12 startangle=180 endangle=360 strokeweight='1px'/><button ps=贝塞曲 class=bon2 id=hb οnmοusemοve=sos("(贝塞尔曲线):以连续点击、移动左键的规律决定曲线长度、角度1、角度2") style=text-align:left><v:curve from=9pt,4.5pt control1=35pt,-6pt control2=-1pt,16pt to=27pt,4.5pt filled=f strokeweight='1px'/><button class=bon2 id=hb οnmοusemοve=sos("单击左键在目标位置插入") style=color:black ps=文字><v:image src="rs/text.gif" style='position:static;width:26;height:12'/><button class=bon2 id=hb οnmοusemοve=sos("单击左键在目标位置插入") style=color:black ps=图片><v:image src="rs/image.gif" style="position:static;width:26;height:12"/></button></td><td style=border-left:1 solid white;><button ps=选移 class=bon2 name=hbxuanyi id=hb οnmοusemοve=sos("按住左键拖动目标图形") style=text-align:left><v:line from=8pt,1pt to=25pt,9pt strokeweight=1px><v:stroke endarrow=classic dashstyle="dash"/></v:line><button class=bon2 name=hbtdx id=hb οnmοusemοve=sos("按住左键拖动目标图形") ps=调大小 style=text-align:left><v:line from=6pt,5pt to=27pt,5pt strokeweight=1px><v:stroke startarrow=classic endarrow=classic dashstyle="dash"/></v:line><button class=bon2 id=hb οnmοusemοve=sos("左键左右移动旋转目标图形") ps=旋转><v:arc style=position:static;WIDTH:20;HEIGHT:7 startangle=350 endangle=50 filled=f strokeweight=1px><v:stroke startarrow=classic startarrowwidth=min startarrowlength='short'/></v:arc><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形") ps=边框><v:rect filled=f style=position:static;WIDTH:19;HEIGHT:11 strokeweight=1px style=border:1 solid navy; strokecolor=navy><v:stroke dashstyle="shortdash"/></v:rect><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形,支持背景色填充、背景图片、完全空心化") ps=填充><v:rect style=position:static;WIDTH:23;HEIGHT:12 stroked=f fillcolor=red><v:fill method=none focus=50% type=gradient opacity=.5 color2=yellow angle="245"/></v:rect><button class=bon2 id=hb οnmοusemοve='sos("左键点击目标图形")' ps=阴影><v:rect style=position:static;WIDTH:20;HEIGHT:9 stroked=f fillcolor=#75DD9E><v:shadow on=t color=navy offset="1.5pt,1pt"/></v:rect></button><br><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形") ps=立体><v:rect style=position:static;WIDTH:20;HEIGHT:9 fillcolor=yellow stroked=f><v:extrusion on=t foredepth=1pt backdepth=2.5pt color=yellow diffusity=72089f rotationangle="76,180"/></v:rect><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形,以文字充当目标图形边框") ps=文字化><v:line  style=position:static; to=20pt,0.1px strokecolor=red strokeweight=1px><v:path textpathok="t"/><v:textpath on=t style=font-size:9.5px string="文字化"/><v:shadow on=t color=white offset='2pt,0pt'/></v:line><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形,给图形增加特殊滤镜效果") ps=滤镜><v:oval style=position:static;WIDTH:20;HEIGHT:11;filter:wave(add=0,freq=3,lightstrength=5,strength=3) strokeweight=1px strokecolor=blue><v:fill method=none focus=50% type=gradient opacity=".5" color2=white angle="245"/></v:oval><button class=bon2 name=hbsuf id=hb οnmοusemοve=sos("左键点击目标图形") ps=缩放><v:oval style=position:static;WIDTH:6;HEIGHT:11; strokeweight=1px strokecolor="blue"/><v:oval style=position:static;WIDTH:16;HEIGHT:11; strokeweight=1px strokecolor="blue"/><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形(该图形在设计时可见,运行时不可见),该功能用于配合动画初期布局设计") ps=隐藏><v:oval style=position:static;WIDTH:20;HEIGHT:11;filter:alpha(opacity=40,finishopacity=2,style=1) strokeweight=1px strokecolor="black"/><button class=bon2 id=hb οnmοusemοve=sos("左键点击目标图形,修改与学习目标图形相关的VML源码") ps=改源码><v:line style=position:static; to=20pt,0.1px strokecolor=navy strokeweight=1px><v:path textpathok="t"/><v:textpath on=t style=font-size:12px string="Code"/></v:line></button><tr><td><select style=width:45;font-size:11px id=bicudu><script>adlist(1,101,1,"","px")</script></select><input style='border:1 solid aaaaaa;border-right:0;width:45;height:19' value=black id=hbys οnmοusedοwn=rndcolor(id)><input style='border:1 solid aaaaaa;border-right:0;width:45;height:19;' value=white id=hbbj οnmοusedοwn=rndcolor(id)><input readonly value=0,0 id=zb style="border:1 solid aaaaaa;text-Align:center;width:106;height:19;color:red;font-size:11px"></td><td><center id=cen>编组(S):<button class=bon2 id=hb οnmοusemοve=sos("拖拽选取想要[编为组]的多个图形,编组后,编程/设计将事半功倍") ps=批选择><v:rect filled=f style=position:static;WIDTH:20;HEIGHT:11 strokeweight=1.2px><v:stroke dashstyle="dot"/></v:rect><button class=bon2 id=hb οnmοusemοve=sos("选取后单击想要追加进[组]的图形") ps=追加><v:rect filled=f style=position:static;WIDTH:20;HEIGHT:11;color:black;font-size:10px;font-weight:bold strokeweight=1.2px><v:stroke dashstyle="dot"/>+</v:rect></button></td></tr></table><script>gjlan1.style.left=document.body.offsetWidth/2-(gjlan1.offsetWidth/2)</script>

    <script>jiazai("工具栏3(属性页/全局工具/系统工具)")</script><TABLE class=tooltab cellspacing=0 cellpadding=1 align=center style='left:1014;top:1;z-index:2999' οnmοusedοwn='if(event.srcElement.tagName=="CENTER"&&event.button==1){moveok=1;setCapture();xx=event.x-offsetLeft;yy=event.y-offsetTop;}' οnmοusemοve="if(moveok==1){style.left=event.x-xx;style.top=event.y-yy;}" οnmοuseup='moveok=0;releaseCapture();if(parseInt(style.top)<-10){alert("工具栏高度不能低于页面最顶部");style.top=1}if(event.srcElement.tagName=="CENTER"&&event.button==2){style.zIndex==2999?style.zIndex=6000:style.zIndex=2999;}' id=gjlan2><tr><Td><center id=cen>属性设置(2)</td></tr><Tr><Td><span id=pxz1 style=display:none><br><center id=cen2>批选取精度设置</center><br>超高精度(3) <input type=radio name=jingdu οnclick="pjingquedu=3"><br>高级精度(5) <input type=radio name=jingdu οnclick="pjingquedu=5"><br>一般精度(7) <input checked type=radio name=jingdu οnclick="pjingquedu=7"><br>模糊精度(10) <input type=radio name=jingdu οnclick="pjingquedu=10"><br><input type=button value=精度说明 οnclick=alert(getxml("help_jingdu",1)) class=bon3 style=width:110></span><span id=hx1 style=display:none><p><center id=cen2>弧型专用工具</center><br>创建基本弧型 <input type=radio name=hx2 checked><br>修改弧缺起点 <input type=radio name=hx2><br>修改弧缺终点 <input type=radio name=hx2><br></span><span id=tfill1 style=display:none><br><center id=cen2>填充效果设置</center><br>填充亮度 <select style=width:54 id=bjlidu><script>adlist(0.1,1,0.1,"","",1);bjlidu.options[4].selected=true</script></select><br><font id=xl>使用普通背景</font><input type=radio name=wttfill checked><br>普通背景 <input style='border:1 solid black;width:55;height:17' value=#0000FF id=tfillbj οnmοusedοwn=rndcolor(id)><br><font id=xl>使用渐变背景</font><input type=radio name=wttfill><br>基本颜色 <input style='border:1 solid black;width:55;height:17' value=#FFFFFF id=jbse1 οnmοusedοwn=rndcolor(id)><br>过度颜色 <input style='border:1 solid black;width:55;height:17'color:red value=#FF0000 id=jbse2 οnmοusedοwn=rndcolor(id)><br>折射渐变 <input type=radio name=jbys><br>平行渐变 <input type=radio name=jbys checked><br>平行角度 <select style=width:54 id=pxjd><script>adlist(-360,365,5);pxjd.options[72].selected=true</script></select><br><font id=xl>设置背景图片</font><input type=radio name=wttfill><br><font id=xl>完全空心化</font> <input type=radio name=wttfill><br></span><span id=lt1 style=display:none><br><center id=cen2>立体效果设置</center><br>立体颜色 <input style='border:1 solid black;width:54;height:17' value='' id=ltys  οnmοusedοwn=rndcolor(id)><br>立体亮度 <select style=width:54 id=ltlidu><script>adlist(0.1,3.1,0.1,"","",1);ltlidu.options[10].selected=true</script></select><br>后向伸展 <select style=width:54 id=hxsz><option>0<script>document.write(temp101);hxsz.options[15].selected=true</script></select><br>前向伸展 <select style=width:54 id=qxsz><option>0<script>document.write(temp101)</script></select><br><font id=xl>增加立体效果</font><input type=radio name=wtlt checked οnclick="wtlt1=0"><br><font id=xl>3 D 角度旋转</font><input type=radio name=wtlt οnclick="wtlt1=1"><br><font id=xl>取消立体效果</font><input type=radio name=wtlt οnclick="wtlt1=2"></span><span id=bk1 style=display:none><br><center id=cen2>边框效果设置</center><br>边框粗度 <select style=width:54 id=bkcudu><option>0<script>document.write(temp101);bkcudu.options[1].selected=true</script></select><br>边框亮度 <select style=width:54 id=bklidu><script>adlist(0.1,1,0.1,"","",1);bklidu.options[9].selected=true</script></select><br>边框样式 <select style=width:54 id=bkyangshi><option>none<option>dash<option>dashdot<option>dot<option>longdash<option>longdashdot<option>shortdash<option>shortdashdot<option>shortdashdotdot<option>longdashdotdot<option>shortdot</select><br>起点箭头 <select style=width:54 id=qidianjt><option>none<option>block<option>classic<option>diamond<option>open<option>oval</select><br>终点箭头 <select style=width:54 id=zdjt><option>none<option>block<option>classic<option>diamond<option>open<option>oval</select><br>箭头大小 <select style=width:54 id=jtdaxiao><option>max<option selected>normal<option>min</select><br>边框颜色 <input style='border:1 solid black;width:54;height:17;' id=bkys οnmοusedοwn=rndcolor(id)><br></span><span id=yying1 style=display:none><br><center id=cen2>阴影效果设置</center><br>左右偏移 <select style=width:54 id=zypianyi><script>adlist(-50,51);zypianyi.options[53].selected=true</script></select><br>上下偏移 <select style=width:54 id=sxpianyi><script>adlist(-50,51);sxpianyi.options[53].selected=true</script></select><br>阴影颜色 <input style='border:1 solid black;width:54;height:17;' id=yyingys οnmοusedοwn=rndcolor(id)><br>阴影亮度 <select style=width:54 id=yyinglidu><script>adlist(0.01,1.01,0.01,"","",2);yyinglidu.options[79].selected=true</script></select><br><font id=xl>取消阴影处理</font><input type=checkbox id=qxyying><br></span><span id=tm1 style=display:none><br><center id=cen2>滤镜效果设置</center><br><select id=tmxishu><option>不使用透明度<script>adlist(100,-1)</script></select><br><select id=tmys><option value=0>默认透明样式<option value=1>左右渐淡<option value=2>圆型渐淡<option value=3>矩型渐淡</select><br><select id=mohudu><option>不使用模糊度<script>document.write(temp101)</script></select><br><select id=niuqudu><option>不使用扭曲度<script>document.write(temp101)</script></select><br><select id=ghd><option>不使用光辉度<script>document.write(temp101)</script></select><br>光辉颜色 <input value="#FF0000" style='border:1 solid black;width:54;height:17;' id=guanghuiys οnmοusedοwn=rndcolor(id)><br><input type=radio name=tsxg id=gray><label for=gray>黑白</label> <input type=radio name=tsxg id=xray><label for=xray>X 光</label><br><input type=radio name=tsxg id=invert><label for=invert>反彩</label> <input type=radio name=tsxg id=light><label for=light>黑幕</label><br><input type=radio name=tsxg id=fudiao><label for=fudiao>浮雕</label> <input type=radio name=tsxg id=yandiao><label for=yandiao>岩雕</label><br><font id=xl>取消滤镜处理</font><input type=checkbox name=qxlvjing><br></span><span id=suf1 style=display:none><br><center id=cen2>缩放效果设置</center><br>比例差 <select style=width:67 id=sufbili><option>取消缩放<script>adlist(0.1,9.9,0.1,"","",1);sufbili.options[20].selected=true</script></select><br><input type=button value=缩放说明 οnclick=alert(getxml("help_suofang",1)) class=bon3 style=width:110></span><span id=wzhua1 style=display:none><br><center id=cen2>文字化效果设置</center><br>文字缩放占满 <input type=checkbox checked id=wzzhanman><br>文字大小 <select style=width:54 id=wzdaxiao2><script>document.write(temp101);wzdaxiao2.options[49].selected=true</script></select><br>文字背景 <input style='border:1 solid black;width:54;height:17;' id=wzys2 οnmοusedοwn=rndcolor(id) value=#FFFFFF><br>文字边框 <input style='border:1 solid black;width:54;height:17;' id=wzys3 οnmοusedοwn=rndcolor(id) value=#FF0000><br>字体 <select style=width:80 id=ziti2><script>document.write(getxml("ziti",1))</script></select><br><font id=xl>取消文字化</font> <input type=checkbox id=qxwzhua><br></span><span id=qb1 style=display:none><br><center id=cen2>铅笔专用工具</center><br>Shape型 <input type=radio name=xzqb checked><br>PolyLine型 <input type=radio name=xzqb><br><input type=button value=选择铅笔说明 οnclick=alert(getxml("help_qianbi",1)) class=bon3 style=width:110><br>允许有背景 <input type=checkbox id=qbbj><br></span><span id=ych1 style=display:none><br><center id=cen2>隐藏效果设置</center><br>隐藏目标图形 <input type=radio name=isych checked><br>取消目标隐藏 <input type=radio name=isych><br></span><span id=jyx22 style=display:none><br><center id=cen2>多边型专用工具</center><br>Shape型 <input type=radio name=wtjyx checked οnclick="if(poly1!=null&&wtjyx1!=0){alert('任务未结束,无法更改');wtjyx[1].checked=true;return false}wtjyx1=0"><br>PolyLine型 <input type=radio name=wtjyx οnclick="if(poly1!=null&&wtjyx1!=1){alert('任务未结束,无法更改');wtjyx[0].checked=true;return false}wtjyx1=1"><br><input type=button value=选择线条说明 οnclick=alert(getxml("help_xiantiao",1)) class=bon3 style=width:110><br>允许有背景 <input type=checkbox id=jyxbj checked><br>终止时填补 <input type=checkbox id=tianbu checked><br><input type=button value=填补说明 οnclick=alert(getxml("help_tianbu",1)) class=bon3 style=width:110></span><span id=qx1 style=display:none><br><center id=cen2>贝塞曲专用工具</center><br>允许有背景 <input type=checkbox id=qxbj><br>绘制新曲线 <input type=radio name=isqx checked οnclick="isqx1=0;"><br>调整曲度一 <input type=radio name=isqx οnclick="isqx1=1;if(buzhou!=0){alert('任务未结束,无法更改');isqx[0].checked=true;isqx1=0;}"><br>调整曲度二 <input type=radio name=isqx οnclick="isqx1=2;if(buzhou!=0){alert('任务未结束,无法更改');isqx[0].checked=true;isqx1=0;}"></span><span id=yuanjuxing1 style=display:none><br><center id=cen2>弧型专用工具</center><br>圆角弧度 <select style=width:57 id=yjhd><script>adlist(0.00,0.51,0.01,"","",2);yjhd.options[15].selected=true</script></select></span><span id=tp2 style=display:none><br><center id=cen2>图片专用工具</center><br>插入新的图片 <input type=radio checked name=wttp><br>修改目标图片 <input type=radio name=wttp><br><select id=lidu οnchange="if(lidu.selectedIndex==0){tempimg.blacklevel=''}else{tempimg.blacklevel=options[selectedIndex].text}"><option>默认明亮度<script>adlist(-0.4,0.41,0.01,"","",2);</script></select><br><select id=duibidu οnchange="if(duibidu.selectedIndex==0){tempimg.gain='1'}else{tempimg.gain=options[selectedIndex].text}"><option>默认对比度<script>document.write(temp101)</script></select><br><select id=secaidu οnchange="if(secaidu.selectedIndex==0){tempimg.gamma=''}else{tempimg.gamma=options[selectedIndex].text}"><option>默认色彩度<script>adlist(0.9,0.1,0.1,"","",1);</script></select><br>漫画卡通效果 <input type=checkbox id=katong οnclick="tempimg.bilevel=checked"><br></span><span id=wz2 style=display:none><br><center id=cen2>文字专用工具</center><br>插入新的文本 <input type=radio checked name=wtwz><br>修改目标文本 <input type=radio name=wtwz><br></span><span id=xz1 style=display:none><br><center id=cen2>旋转专用工具</center><br>旋转目标图形 <input type=radio name=wtxz checked οnclick=wtxz1=0><br>取消目标旋转 <input type=radio name=wtxz οnclick=wtxz1=1><br></span></td></tr><tr><Td><center id=cen>全局操作(8)</td></tr><Tr><Td><input type=button value=Undo οnclick=chex_get() class=bon3 id=chexck οnmοusemοve=sos("快捷键Ctrl+Z,撤消上次操作")><input type=button value=Redo οnclick=chex_get2() class=bon3 id=fanchexck οnmοusemοve=sos("快捷键Ctrl+Y,取消上次撤消操作")><br><input type=button value=← οnclick='if(!czok())return false;for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)-10;}catch(e){}}' class=bon3 id=zuoyi οnmοusemοve=sos("快捷键←")><input type=button value=→ οnclick='if(!czok())return false;for(i=0;i<div1.all.length;i++){try{div1.all[i].style.left=parseInt(div1.all[i].style.left)+10;}catch(e){}}' class=bon3 id=youyi οnmοusemοve=sos("快捷键→")><br><input type=button value=↑ οnclick='if(!czok())return false;for(i=0;i<div1.all.length;i++){try{div1.all[i].style.top=parseInt(div1.all[i].style.top)-10;}catch(e){}};' class=bon3 id=shangyi οnmοusemοve=sos("快捷键↑")><input type=button value=↓ οnclick='if(!czok())return false;for(i=0;i<div1.all.length;i++){try{div1.all[i].style.top=parseInt(div1.all[i].style.top)+10;}catch(e){}}return false' class=bon3 id=xiayi οnmοusemοve=sos("快捷键↓")><br><input type=button style=color:blue value=运行 οnclick=yunxingfun() class=bon3 id=shiyunxing οnmοusemοve=sos("快捷键回车键,在浏览器查看本次作业的真实程序编译运行效果")><input type=button value=Delete οnclick=quanbuqingchu() class=bon3 id=esc οnmοusemοve=sos("快捷键ESC,全部删除(同等于[新建])")></td></tr><Tr><Td><center id=cen>系统功能(9)</td></tr><tr><Td><input type=button value=查看/修改源码 οnmοusemοve=sos("把已保存的VML代码粘贴修改实现打开,或者手写修改当前编辑器内的所有VML代码") class=bon3 style=width:110 οnclick=chakandaima()><br><input type=button value=环境设置 class=bon3 style=width:110; id=fvmlshezhi οnclick='ydm.style.display=n;temp1=huabutab.width.replace("%","");hb_dx1.options[(temp1/100)-1].selected=true;hb_ys1.value=hb_ys;hb_bt1.value=hb_bt;hb_zdh1.checked=hb_zdh;hb_gdt1[hb_gdt].checked=true;hb_gdtcor1.value=hb_gdtcor;hb_coks1[hb_coks].checked=true;hb_hy1.checked=hb_hy;hb_scroll1.checked=hb_scroll;hb_tishi1.checked=hb_tishi;hb_jzwid1.value=hb_jzwid;hb_jzhei1.value=hb_jzhei;hb_jzcor1.value=hb_jzcor;hb_jz1.checked=hb_jz;for(i=0;i<hb_wg1.options.length;i++){if(hb_wg1.options[i].text==hb_wg)hb_wg1.options[i].selected=true}hb_wgse1.value=hb_wgse;hbsz.style.display==""?hbsz.style.display=n:hbsz.style.display="";hb_jmfg1.options[hb_jmfg-1].selected=true;hb_ysj1.value=hb_ysj;hb_usemenu1.checked=hb_usemenu;hb_jmbx1.options[hb_jmbx-1].selected=true;hb_gjtm1.checked=hb_gjtm' οnmοusemοve=sos("打开画板设置选项卡,设置画板设计、运行时的各项指标")><br><input type=button value='Save File' οnmοusemοve=sos("将本次工作保存为后缀为htm的文件,注意保存时请使用Unicode保存") class=bon3 style=width:110 οnclick=savefile()><br><input type=button value=生成作业录像 οnmοusemοve=sos("生成作业录像文件(动态以你指定的速度[毫秒]播放您整个绘图过程)") class=bon3 style=width:110 οnclick=luxiang()></td></tr><Tr><Td><center id=cen>网络功能(10)</td></tr><td><input type=button value='上传/浏览/下载' οnmοusemοve=sos("FlashVml后台数据库扩展系统,为您免费提供互联网上存取服务") class=bon3 style=width:110 οnclick=wangluo()><script>function wangluo(){ser1.style.left=a_bsleft+document.body.offsetWidth/2-(parseInt(ser1.style.width)/2);ser1.style.top=a_bstop+document.body.offsetHeight/2-(parseInt(ser1.style.height)/2);if(ser1.style.visibility=='hidden'){ser1.style.visibility='';if(serckone==0){serckone=1;serframe.location.href=fuwuqi2.href}}else{ser1.style.visibility='hidden';}}</script><br><input type=button value=关于FlashVml class=bon3 style=width:110;color:red οnclick=gykai()></td></tr></table>

    <script language=jscript>gjlan2.style.left=document.body.offsetWidth-gjlan2.offsetWidth-20jiazai("扩展功能程序引擎、全局存储器")var open_var="vml"  //定义基于用户的变量名var bi=4    //定义当前使用的画笔工具,3为铅笔var bitext=""   //定义当前使用的画笔工具的名称,用以判断var color1='#000000',color2='#000000',size1=""  //定义缺剩的画笔颜色及画笔填充颜色和笔边粗度var xx=0,yy=0,zz=3000  //定义缺剩的X及Y坐标var mobj=null,ckleft=0,cktop=0,ckwid=0,ckhei=0,ckto=""  //被移动物件、调整大小物件的引用var poly1=null,oldvalue="",oldx=0,oldy=0  //为了完成铅笔、记忆点等连续线段var wtqb=1,wthx=1  //区分使用了哪种铅笔、弧型画笔,该变量起加速作用var morenxz=0  //存储对象的旋转前的旋转度var hxqidian=0,hxzhongdian=0  //定义记录弧型旧的起点与终点的变量var gjobj=null,gjobjdex=0,sjobj=null  //为了完成“改源码”“事件编程”功能,绑定被修改对象var thisobj=null   //为了完成各种基本编辑功能,如“置前”“复制”“删除”等var zz2=3000          //为完成“置后”功能,zz2为负数var hxtx=false,fztx=false  //如果为false则ALERT()提醒弧型/复制得特性及缺陷,否则不提醒var ychtx1=false,ychtx2=false  //为false则提醒隐藏/取消隐藏,否则不提醒var chex=new Array(),youbiao=0,fanchex1=2  //定义一个存储撤消内容的数组以及位移游标,fanchex1为0时+2,否则+1var zzxt=""   //定义反撤消的最终形态var objorthis=""   //区分针对ID编程还是针对this编程var diplaytime=null   //用于控制红色箭头的关闭时间,为了避免有闪烁感var wodejb="function fun1(){/n/n}/n"    //用于存储我的脚本仓库内容var nextid=-1var whodh=true   //区别是按照侦创作动画程序还是按照流线创作动画程序var miaoarray=new Array()  //存储侦的动画内容var dci=0   //蓄电池的游标var dcitxt=new Array()  //蓄电池程序内容var dcitime1=new Array()  //蓄电池起始秒种var dcitime2=new Array()  //蓄电池步长var dcitime3=new Array()  //蓄电池结束秒种dcitime1[0]=1;dcitime2[0]=20;dcitime3[0]=5  //定义[默认蓄电池1]的时间设定var luxianghaomiao=300  //记录录像播放时的毫秒步厂var worktime=0  //记忆用户使用FlashVml绘制一副完整动画所用的时间,单位秒var buzhou=0,oldto=""  //记忆曲线绘制的步骤、伸展度的信息var wtcj=1,cjoldx=0,cjoldy=0,cjoldwid=0,cjoldhei=0  //记录已何种方向裁剪目标对象、鼠标按下时坐标var clips=new Array(0,0,0,0)  //存储对象的默认裁剪var cjjuli=5,cjbu=25  //设置裁剪容器距离实体边缘的边距,以及设置裁剪的最大步长var zbtime=null  //绘图时的坐标var yxchex=true  //决定当前情况能否使用撤消、恢复撤消var isqx1=0,qxduanx=0,qxduany=0  //曲线绘制时的变量存储var wtjyx1=0 //决定选择了哪种多边型var wtlt1=0,ltoldx=0,ltoldy=0  //决定选择了哪种立体处理、立体上次X、Y旋转度,起加速作用var wtxz1=0  //决定怎样旋转图形,起加速作用var gupwid=1000,guphei=1000,gupx=0,gupy=0  //调大小鼠标按下时存储group组的宽高var serckone=0  //判断是否第一次打开服务器端系统var pjingquedu=7  //批选择精确度存储变量var vmljs=[],vmljsstr=""  //控制是否为用户输出对应的动画特技函数</script><Script language="javascript" src="rs/fvml_pubjs.js"></script>

    <script>jiazai("鼠控绘图程序引擎(核心程式)")function div1.onmousedown(){colortab.style.display=n;cj.style.display=n;ydm.style.display=n  //结束其他未完成工作zb.style.color="blue";if(event.button==1){menuclose(menu1,40);menuclose(menu2,40);}if(event.button==2){gaoji1.style.display=n;sj1.style.display=n;bjtp1.style.display=n;zhuijia1.style.display=n;}yxchex=false  //锁定撤消div1.setCapture();  //画笔绘画开始,锁定鼠标color1=hbys.value  //定义画笔基本颜色color2=hbbj.value;  //定义画笔背景颜色size1=bicudu.options[bicudu.selectedIndex].text  //定义画笔基本粗度a_bsleft=document.body.scrollLeft  //获取滚动条信息a_bstop=document.body.scrollTopxx=a_bsleft+event.x;yy=a_bstop+event.y;zz+=1  //定义基本起始坐标for(i=0;i<hb.length;i++){if(hb[i].className=="bon1"){bi=i;if(hb[i].ps==null)bitext=hb[i].innerText;else bitext=hb[i].ps;break}}  //找到选择了哪个画笔

    line1.strokecolor=color1;line1.strokeweight=size1;oval1.strokeweight=size1;oval1.strokecolor=color1   //设置可视化物件的基本样式oval1.fillcolor=color2;rect1.strokeweight=size1;rect1.strokecolor=color1rect1.fillcolor=color2;roundrect1.strokeweight=size1;roundrect1.strokecolor=color1roundrect1.fillcolor=color2;arc1.strokeweight=size1;arc1.strokecolor=color1arc1.fillcolor=color2;ebj=event.srcElementif(event.button==1){if(bitext=="铅笔"||bitext=="直线"||bitext=="圆型"||bitext=="长方型"||bitext=="圆矩型"||bitext=="弧型"){  //支持显示标尺线的画笔bc1.style.left=xx;bc1.style.display="";bc2.style.top=yy;bc2.style.left=a_bsleft;bc2.style.display="";}switch(bitext){case "批选择": //批选择var temp1=div1.style.backgroundColorif(pixz1.fillcolor!=temp1)pixz1.fillcolor=temp1pixz1.style.left=xx;pixz1.style.top=yy;pixz1.style.width=0;pixz1.style.height=0;pixz1.style.visibility="";break;case "选移":  //选移if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){mobj=ebj;ckleft=xx-parseInt(mobj.style.left);cktop=yy-parseInt(mobj.style.top);}break;case "调大小":  //调大小if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){str1=ebj.tagName.toLowerCase()if(str1=="polyline"||str1=="shape"||str1=="group"){alert('无法调整核心基于'+str1+'图形,请使用[缩放]功能调整其大小/n/n或者使用[改源码]直接修改其源坐标系');yxchex=truehb[bi].className="bon2";hbsuf.className="bon1";div1.style.cursor="hand";suf1.style.display='';hbys.focus();return false}mobj=ebj;ckleft=parseInt(mobj.style.left);cktop=parseInt(mobj.style.top);ckwid=mobj.offsetWidth;ckhei=mobj.offsetHeight}break;case "弧型":  //弧型if(hx2[0].checked==true){wthx=1;arc1.style.left=xx;arc1.style.top=yy;arc1.style.width=0;arc1.style.height=0;arc1.style.display="";}else{if(ebj.tagName.toLowerCase()!="arc"){alert('目标图形不是弧型,无法调整');yxchex=true;wthx=2;return false}for(i=0;i<hx2.length;i++){if(hx2[i].checked)wthx=i+1}mobj=ebj;hxqidian=mobj.startangle;hxzhongdian=mobj.endangle}break;case "直线":  //直线line1.style.left=xx;line1.style.top=yy;line1.to="0,0";line1.style.display=""break;case "铅笔":  //铅笔if(document.getElementsByName('xzqb')[0].checked==true){wtqb=1}else{wtqb=0}if(poly1==null&&event.button==1){oldx=xx;oldy=yyqbbj.checked?str1="t":str1='f'if(wtqb==1){  //绘图形铅笔poly1=div1.appendChild(document.createElement("<v:shape path='m0,0 l0,0' filled='" + str1 + "' style='z-index:"+zz+";left:"+xx+";top:"+yy+";width:100;height:100' strokecolor='"+color1+"' strokeweight='"+size1+"' coordsize='100,100' fillcolor='"+color2+"'"+addnextid()+"/>"))oldvalue=poly1.path.value.replace("e","")}else{  //旋转型铅笔poly1=div1.appendChild(document.createElement("<v:polyline filled='"+str1+"' points='0px,0px' style='z-index:"+zz+";left:"+xx+";top:"+yy+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'"+addnextid()+"/>"))oldvalue=poly1.points.value}}case "圆型":  //圆型oval1.style.left=xx;oval1.style.top=yy;oval1.style.width=0;oval1.style.height=0;oval1.style.display=""break;case "长方型":  //长方型rect1.style.left=xx;rect1.style.top=yy;rect1.style.width=0;rect1.style.height=0;rect1.style.display=""break;case "圆矩型":  //圆矩型,arcsize属性只读,必须使用outerHTML更新roundrect1.outerHTML="<v:roundrect arcsize='"+yjhd.options[yjhd.selectedIndex].text+"' class=keshi style='display:none;left:"+xx+";top:"+yy+";width:0;height:0;' id='roundrect1' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'><v:Stroke dashstyle='dashdot'/></v:roundrect>"roundrect1.style.display=''break;case "文字":  //文字if(wtwz[0].checked){wz1.style.left=xx;wz1.style.top=yy-20;charu1.value="插入";wz1.style.display=""}else{if(ebj.tagName.toLowerCase()!="textbox"){alert("目标不是Textbox文本对象,无法修改");yxchex=true;return false}txt1.value=ebj.innerHTML.replace(/( <BR>|<BR>)/g,"/n");gjobj=ebj;wz1.style.left=xx;wz1.style.top=yy;charu1.value="修改";wz1.style.display=""}break;case "图片":  //图片if(wttp[0].checked){tp1.style.left=xx;tp1.style.top=yy;tp1.style.display=""}else{if(ebj.tagName.toLowerCase()!="image"){alert("目标不是Image图片对象,无法修改");yxchex=true;return false}ebj.blacklevel=tempimg.blacklevel;ebj.gain=tempimg.gain;ebj.gamma=tempimg.gamma;ebj.bilevel=tempimg.bilevel}break;case "多边型":  //多边型if(poly1==null){if(jyxbj.checked)temp1="t";else temp1="f"if(wtjyx1==1){oldx=xx;oldy=yydiv1.innerHTML+="<v:polyline filled='"+temp1+"' points=/"0pt 0pt/" style='z-index:"+zz+";left:"+xx+";top:"+yy+";' strokecolor='"+color1+"' fillcolor='"+color2+"' strokeweight='"+size1+"'"+addnextid()+"/>";poly1=div1.lastChild;oldvalue="0pt 0pt"}else{poly1=div1.appendChild(document.createElement("<v:shape path='m0,0 l0,0' filled='"+temp1+"' style='z-index:"+zz+";left:"+xx+";top:"+yy+";width:100;height:100' strokecolor='"+color1+"' strokeweight='"+size1+"' coordsize='100,100' fillcolor='"+color2+"'"+addnextid()+"/>"))oldvalue=poly1.path.value.replace("e","")oldx=xx;oldy=yy}}else{if(wtjyx1==1)oldvalue=poly1.points.value;else {oldvalue=poly1.path.value.replace(" e","");}}break;case "旋转": //旋转if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"textbox")==false)return false;if(wtxz1==0){mobj=ebj;if(mobj.style.rotation==''||mobj.style.rotation==null){mobj.style.rotation=0}morenxz=parseInt(mobj.style.rotation)}}break;case "贝塞曲":  //贝塞曲if(buzhou==0&&poly1==null){if(isqx1==0){oldx=xx;oldy=yyqxbj.checked?str1='t':str1='f'poly1=div1.appendChild(document.createElement("<v:curve filled='"+str1+"' to='0,0' style='z-index:"+zz+";left:"+xx+";top:"+yy+";' strokecolor='"+color1+"' fillcolor='"+color2+"' strokeweight='"+size1+"'"+addnextid()+"/>"));return false}if(ebj.tagName.toLowerCase()!='curve'){alert('目标图形不是曲线,无法调整');yxchex=true;return false}mobj=ebj;oldx=xx;oldy=yyif(isqx1==1)str1=ebj.control1;if(isqx1==2)str1=ebj.control2;str1=new String(str1).split(",")qxduanx=parseInt(str1[0]);qxduany=parseInt(str1[1])}break;case "立体":  //立体角度调整if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(wtlt1==1){if(ebj.extrusion.on!=true){alert("目标未增加立体效果,无法修改");yxchex=true;return false}if(ebj.extrusion.rotationangle=="")ebj.extrusion.rotationangle="0,0"str1=ebj.extrusion.rotationangle;str1=new String(str1).split(",")ltoldy=parseInt(str1[0]);ltoldx=parseInt(str1[1])mobj=ebj}}break;}}}function div1.onmousemove(){tempx=a_bsleft+event.x;tempy=a_bstop+event.y;ebn=event.buttonif(zbtime==null){if(ebn==0){zbtime=setTimeout("zb.value='X'+tempx+',Y'+tempy;zbtime=null;clearTimeout(zbtime)",100)}else if(ebn==1){  //、改变坐标显示tempx>xx?jiajians1="+":jiajians1="-";tempy>yy?jiajians2="+":jiajians2="-";zbtime=setTimeout("zb.value='"+xx+jiajians1+Math.abs(tempx-xx)+","+yy+jiajians2+Math.abs(tempy-yy)+"';zbtime=null;clearTimeout(zbtime)",100)}}if(poly1!=null){if(bitext=="铅笔"&&ebn==1){   //铅笔if(wtqb==1){  //绘图形铅笔oldvalue=oldvalue+","+(tempx-xx)+","+(tempy-yy);poly1.path.value=oldvaluepoly1.path.value=poly1.path.value.replace(",0,",",").replace(",0 e","e")}else{oldvalue=oldvalue+","+(tempx-oldx)+","+(tempy-oldy);poly1.points.value=oldvalue}}else if(bitext=="多边型"){   //多边型if(wtjyx1==1){div1.lastChild.outerHTML=div1.lastChild.outerHTML.replace(/ points = /".*?/"/,' points=/"'+oldvalue+","+(tempx-oldx)+","+(tempy-oldy)+'/"');poly1=div1.lastChild}else{poly1.path.value=oldvalue+","+(tempx-oldx)+","+(tempy-oldy)poly1.path.value=poly1.path.value.replace(",0,0,",",0,").replace(",0 e","e")}}else if(bitext=="贝塞曲"){  //曲线if(buzhou==1){oldto=(tempx-oldx)+","+(tempy-oldy);poly1.to=oldto}if(buzhou==2){poly1.control1=(tempx-oldx)+","+(tempy-oldy);}if(buzhou==3){poly1.control2=(tempx-oldx)+","+(tempy-oldy)}}}if(ebn==1){switch(bitext){case "批选择":  //批选择的调整if(tempx-xx<0){pixz1.style.left=tempx;pixz1.style.width=(xx-tempx)}else{pixz1.style.width=(tempx-xx)}if(tempy-yy<0){pixz1.style.top=tempy;pixz1.style.height=(yy-tempy)}else{pixz1.style.height=(tempy-yy)}case "贝塞曲":  //贝塞曲线的调整if(mobj!=null){if(isqx1==1){try{mobj.control1=(qxduanx+(tempx-oldx))+"pt,"+(qxduany+(tempy-oldy))+"pt";}catch(e){}}if(isqx1==2){try{mobj.control2=(qxduanx+(tempx-oldx))+"pt,"+(qxduany+(tempy-oldy))+"pt";}catch(e){}}}break;case "选移":  //选移if(mobj!=null){mobj.style.left=tempx-ckleft;mobj.style.top=tempy-cktop}break;case "调大小":  //调大小if(mobj!=null){if(mobj.tagName=="curve"){mobj.to=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);if(ckto=="")ckto=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);return false}else if(mobj.tagName=="line"){mobj.to=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);if(ckto=="")ckto=parseInt(tempx-ckleft)+","+parseInt(tempy-cktop);}else{if(tempx>ckleft){mobj.style.width=tempx-ckleft}else{mobj.style.left=tempx;mobj.style.width=ckleft-tempx}if(tempy>cktop){mobj.style.height=tempy-cktop}else{mobj.style.top=tempy;mobj.style.height=cktop-tempy}}}break;case "弧型":  //弧型if(wthx==1){if(tempx-xx<0){arc1.style.left=tempx;arc1.style.width=(xx-tempx)}else{arc1.style.width=(tempx-xx)}if(tempy-yy<0){arc1.style.top=tempy;arc1.style.height=(yy-tempy)}else{arc1.style.height=(tempy-yy)}}else if(wthx==2){  //修改起点弧缺sjj=hxqidian+(tempx-xx)if(sjj>-360&&sjj<360)mobj.startangle=sjj}else if(wthx==3){sjj=hxzhongdian+(tempx-xx)if(sjj>-360&&sjj<360)mobj.endangle=sjj}break;case "直线":  //直线line1.to=(tempx-xx)+","+(tempy-yy)break;case "圆型":  //圆型if(tempx-xx<0){oval1.style.left=tempx;oval1.style.width=(xx-tempx)}else{oval1.style.width=(tempx-xx)}if(tempy-yy<0){oval1.style.top=tempy;oval1.style.height=(yy-tempy)}else{oval1.style.height=(tempy-yy)}break;case "长方型":  //长方型if(tempx-xx<0){rect1.style.left=tempx;rect1.style.width=(xx-tempx);}else{rect1.style.width=(tempx-xx)}if(tempy-yy<0){rect1.style.top=tempy;rect1.style.height=(yy-tempy);}else{rect1.style.height=(tempy-yy)}break;case "圆矩型":  //圆矩型if(tempx-xx<0){roundrect1.style.left=tempx;roundrect1.style.width=(xx-tempx)}else{roundrect1.style.width=(tempx-xx)}if(tempy-yy<0){roundrect1.style.top=tempy;roundrect1.style.height=(yy-tempy)}else{roundrect1.style.height=(tempy-yy)}break;case "旋转":  //旋转if(mobj!=null&&wtxz1==0){mobj.style.rotation=morenxz+(tempx-xx)}break;case "立体":  //立体角度调整if(mobj!=null){mobj.extrusion.rotationangle=(ltoldy+(tempy-yy))+","+(ltoldx+(tempx-xx))}}}}function div1.onmouseup(){yxchex=true  //允许撤消savechex()document.releaseCapture();zb.style.color="red";bc1.style.display=n;bc2.style.display=ntempx=a_bsleft+event.x;tempy=a_bstop+event.y;var ebj=event.srcElementif(bitext=="贝塞曲")mobj=nullif(bitext=="贝塞曲"&&poly1!=null){if(event.button==2){if(buzhou==1)poly1.removeNode()poly1=null;buzhou=0;oldto="";return false}if(buzhou==1){poly1.control1=oldto;poly1.control2=oldto;}if(buzhou==3){poly1=null;buzhou=0;oldto=""}else{buzhou++;}}if(bitext=="铅笔"&&poly1!=null){if(wtqb==1){  //绘图形铅笔poly1.path.value=oldvalue;poly1.path.value=poly1.path.value.replace(",0,",",").replace(",0 e","e")oldvalue="";poly1=null;}else{poly1.points.value=oldvalue;oldvalue="";poly1=null;div1.innerHTML=div1.innerHTML}}else if(event.button==2&&poly1==null&&mobj==null){  //右键菜单var temp1=ebj.parentElement.tagNameif(ebj.parentElement.id=="div1"||temp1=="group"){if(temp1=="group"){delgup.fill.color="#739EFE"}else{delgup.fill.color="black"}if(ebj.tagName=="group"){delgupall.fill.color="#739EFE"}else{delgupall.fill.color="black"}menu2.style.display=n;thisobj=ebj;menushow(menu1,60,20)}else{menu1.style.display=n;menushow(menu2,60,20)}}else if(event.button==2&&bitext=="多边型"&&poly1!=null){if(wtjyx1==1){if(tianbu.checked==false){div1.lastChild.outerHTML=div1.lastChild.outerHTML.replace(/ points = /".*?/"/,' points=/"'+oldvalue+'/"');}else{div1.lastChild.outerHTML=div1.lastChild.outerHTML.replace(/ points = /".*?/"/,' points=/"'+oldvalue+',0,0/"');}}else{if(tianbu.checked==false){poly1.path.value=oldvalue+" e";}else{poly1.path.value=oldvalue+"x e";}}oldvalue='';poly1=null}if(event.button==1){switch(bitext){case "批选择":  //批选择pixz1.style.visibility="hidden"

    var pleft1=parseInt(pixz1.style.left),ptop1=parseInt(pixz1.style.top)var pwidth1=parseInt(pixz1.style.width),pheight1=parseInt(pixz1.style.height)var pobjs=[],pyoubiao=-1,ptempx=[],notag="DIV",psellen=0var you=false,jiajia=0,oldstat=window.statusfor(r=pleft1;r<pleft1+pwidth1;r+=pjingquedu){jiajia++;window.status="当前精度:"+pjingquedu+",屏幕图形捕捉检索进程="+jiajia+"/"+parseInt(pwidth1/pjingquedu)for(i=ptop1;i<ptop1+pheight1;i+=pjingquedu){var tempobj=document.elementFromPoint(r,i)if(tempobj.tagName!=notag&&tempobj!=pixz1){if(pyoubiao==-1){pyoubiao++;pobjs[pyoubiao]=tempobj;psellen++;}else{you=truefor(m=0;m<psellen;m++){if(pobjs[m]==tempobj)you=false;}if(you){pyoubiao++;pobjs[pyoubiao]=tempobj;psellen++;}}}}}window.status=oldstat

    if(psellen!=0){  //如果有选择var temphtm=""pixz1.style.visibility=""if(confirm("你要为所选所有对象编制一个Group批操作[组]吗?")){pixz1.style.visibility="hidden"if(pobjs.length==1){alert("至少需要圈定2个或2个以上VML图形");return false}for(i=0;i<pobjs.length;i++){var temp1=pobjs[i].tagNameif(pobjs[i].id=="wgx"||pobjs[i].id=="fjx"||pobjs[i].id=="juzhen1")continue;  //如果选择的是一些辅助设计工具if(pobjs[i].parentElement.tagName=="group"||temp1=="group"||temp1=="Textbox"||temp1=="polyline"||div1.contains(pobjs[i])==false){alert("操作无效,可能原因:/n/n1:所选图形已经编过组的/n2:所选图形有group集合组/n3:所选图形有些不是VML图形/n4:所选图形可能含有[VML动态帮助提示条]/n5:不允许存在polyline(线段)、textbox(一级文本)结构的图形");return false;}

    if(pobjs[i].tagName=="line"){  //解决MSHTML对于line-PT单位转换的可恶漏洞(洒家BT算法)var temp1=pobjs[i].outerHTMLvar temp2=temp1.match(/ to = /"(.*?)/"/g)[0]temp2=RegExp.$1.replace(/pt/g,"").split(",")var temp3=new Number(temp2[0]);temp3=temp3+(temp3/3)var temp4=new Number(temp2[1]);temp4=temp4+(temp4/3)temphtm+=temp1.replace(/ to = /".*?/"/g,' to="'+temp3+','+temp4+'"')}else if(pobjs[i].tagName=="curve"){  //解决MSHTML对于curve-PT单位转换的可恶漏洞(洒家的超BT算法^-^)var temp1=pobjs[i].outerHTMLvar temp2=temp1.match(/ to = /"(.*?)/"/g)[0]temp2=RegExp.$1.replace(/pt/g,"").split(",")var temp3=temp1.match(/ control1 = /"(.*?)/"/g)[0]temp3=RegExp.$1.replace(/pt/g,"").split(",")var temp4=temp1.match(/ control2 = /"(.*?)/"/g)[0]temp4=RegExp.$1.replace(/pt/g,"").split(",")var temp5=[1],temp6=[1],temp7=[1]temp5[0]=new Number(temp2[0]);temp5[0]=temp5[0]+(temp5[0]/3)temp5[1]=new Number(temp2[1]);temp5[1]=temp5[1]+(temp5[1]/3)temp6[0]=new Number(temp3[0]);temp6[0]=temp6[0]+(temp6[0]/3)temp6[1]=new Number(temp3[1]);temp6[1]=temp6[1]+(temp6[1]/3)temp7[0]=new Number(temp4[0]);temp7[0]=temp7[0]+(temp7[0]/3)temp7[1]=new Number(temp4[1]);temp7[1]=temp7[1]+(temp7[1]/3)temphtm+=temp1.replace(/ to = /".*?/"/g,' to="'+temp5[0]+','+temp5[1]+'"').replace(/ control1 = /".*?/"/g,' control1="'+temp6[0]+','+temp6[1]+'"').replace(/ control2 = /".*?/"/g,' control2="'+temp7[0]+','+temp7[1]+'"')}else{temphtm+=pobjs[i].outerHTML;}}

    if(temphtm=="")return falsefor(i=0;i<pobjs.length;i++){if(pobjs[i].id=="wgx"||pobjs[i].id=="fjx"||pobjs[i].id=="juzhen1"){}else pobjs[i].outerHTML="";}  //必须在这里删除,执行过程需要var newgroup=div1.appendChild(document.createElement("<v:group style='z-index:"+zz+";left:0;top:0;width:1000;height:1000;' coordsize='1000,1000' "+addnextid(1)+"/>"))newgroup.innerHTML=temphtm;newgroup.contentEditable=true;hbys.focus();getallid()}pixz1.style.visibility="hidden"break;}else{  //如果没有选择break;}case "追加":  //追加if(ebj.parentElement.id=="div1"&&ebj.tagName!="group"){if(nouse(ebj,"textbox,polyline")==false)return false;gjobj=ebjzhuijia1.style.left=xx;zhuijia1.style.top=yy;for(i=zjselect.options.length;i>0;i--)zjselect.remove(i)for(i=0;i<div1.all.tags("group").length;i++){if(div1.all.tags("group")[i].id!="")zjselect.add(new Option(div1.all.tags("group")[i].id))}zjselect.options[zjselect.options.length-1].selected=true;zhuijia1.style.display=""}break;case "选移":  //选移mobj=nullbreak;case "调大小":  //调大小mobj=null;ckto=""break;case "弧型":  //弧型if(wthx==1){arc1.style.display=n;if (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return falsediv1.appendChild(document.createElement("<v:arc startangle='360' endangle='30' style='z-index:"+zz+";left:"+arc1.style.left+";top:"+arc1.style.top+";width:"+arc1.style.width+";height:"+arc1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'"+addnextid()+"/>"))if(hxtx==false){hxtx=true;alert("弧型已绘出,调整弧度请使用[修改弧缺起点/修改弧型终点]功能");hx2[1].checked=true}}else{mobj=null}break;case "直线":  //直线line1.style.display=nif (Math.abs(tempx-xx)<=2&&Math.abs(tempy-yy)<=2)return falsediv1.appendChild(document.createElement("<v:line style='z-index:"+zz+";left:"+xx+";top:"+yy+";' to='"+(tempx-xx)+","+(tempy-yy)+"' strokecolor='"+color1+"' strokeweight='"+size1+"'"+addnextid()+"/>"))break;case "圆型":  //圆型oval1.style.display=nif (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return falsediv1.appendChild(document.createElement("<v:oval style='z-index:"+zz+";left:"+oval1.style.left+";top:"+oval1.style.top+";width:"+oval1.style.width+";height:"+oval1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'"+addnextid()+"/>"))break;case "长方型":  //长方型rect1.style.display=nif (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return falsediv1.appendChild(document.createElement("<v:rect style='z-index:"+zz+";left:"+rect1.style.left+";top:"+rect1.style.top+";width:"+rect1.style.width+";height:"+rect1.style.height+";' strokecolor='"+color1+"' strokeweight='"+size1+"' fillcolor='"+color2+"'"+addnextid()+"/>"))break;case "圆矩型":  //圆矩型roundrect1.style.display=nif (Math.abs(tempx-xx)<=1||Math.abs(tempy-yy)<=1)return falsediv1.appendChild(document.createElement("<v:roundrect style='z-index:"+zz+";left:"+roundrect1.style.left+";top:"+roundrect1.style.top+";width:"+roundrect1.style.width+";height:"+roundrect1.style.height+";' strokecolor='"+color1+"' arcsize='"+yjhd.options[yjhd.selectedIndex].text+"' strokeweight='"+size1+"' fillcolor='"+color2+"'"+addnextid()+"/>"))break;case "填充":  //填充if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"image,line,textbox,group")==false)return falseif(wttfill[0].checked){ebj.fillcolor=tfillbj.value;ebj.filled=trueif(ebj.fill.type!='frame'&&ebj.fill.type!='tile')ebj.fill.type='frame'}else if(wttfill[1].checked){  //使用渐变ebj.filled=truetemp1=jbys[1].checked?'gradient':'gradientradial'ebj.fillcolor=jbse2.valueebj.fill.color2=jbse1.valueebj.fill.type=temp1if(temp1=='gradient')ebj.fill.angle=pxjd.options[pxjd.selectedIndex].text}else if(wttfill[2].checked){  //使用背景图片gjobj=ebjbjtp1.style.left=xx;bjtp1.style.top=yy;bjtp1.style.display="";return false}ebj.fill.opacity=bjlidu.options[bjlidu.selectedIndex].textif(wttfill[3].checked){ebj.filled=false;}}break;case "立体":  //立体if(wtlt1==1)mobj=null  //立体角度调整结束if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"image,textbox,group")==false)return falseif(wtlt1==2){ebj.extrusion.on=false}else if(wtlt1==0){ebj.extrusion.color=ltys.valueebj.extrusion.backdepth=hxsz.options[hxsz.selectedIndex].textebj.extrusion.foredepth=qxsz.options[qxsz.selectedIndex].textebj.extrusion.diffusity=ltlidu.options[ltlidu.selectedIndex].textebj.extrusion.on=true}}break;case "边框":  //边框if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"textbox,group")==false)return falseebj.strokecolor=bkys.valueif(bkcudu.options[bkcudu.selectedIndex].text=='0'){ebj.stroked=false}else{ebj.stroked=true;ebj.strokeweight=bkcudu.options[bkcudu.selectedIndex].text+"px"}ebj.stroke.dashstyle=bkyangshi.options[bkyangshi.selectedIndex].textebj.stroke.startarrow=qidianjt.options[qidianjt.selectedIndex].textebj.stroke.endarrow=zdjt.options[zdjt.selectedIndex].textebj.stroke.opacity=bklidu.options[bklidu.selectedIndex].textstr1=jtdaxiao.selectedIndexif(ebj.stroke.startarrow!='none'){if(str1==0){ebj.stroke.startarrowwidth="wide";ebj.stroke.startarrowlength="long"}else if(str1==2){ebj.stroke.startarrowwidth="narrow";ebj.stroke.startarrowlength="short"}else{ebj.stroke.startarrowwidth="medium";ebj.stroke.startarrowlength="medium"}}if(ebj.stroke.endarrow!='none'){if(str1==0){ebj.stroke.endarrowwidth="wide";ebj.stroke.endarrowlength="long"}else if(str1==2){ebj.stroke.endarrowwidth="narrow";ebj.stroke.endarrowlength="short"}else {ebj.stroke.endarrowwidth="medium";ebj.stroke.endarrowlength="medium"}}}break;case "隐藏":  //隐藏if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(isych[0].checked){ebj.ych="true";if(!ychtx1){ychtx1=true;alert('目标图形已被隐藏(仅设计时可见,运行时将不可见)')}}else{ebj.removeAttribute("ych");if(!ychtx2){ychtx2=true;alert('目标图形已取消隐藏(设计、运行时均可见)')}}}break;case "改源码":  //改源码if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){gjobj=ebj;gjobjdex=ebj.sourceIndextxt2.value=getformatvml(ebj.outerHTML);zishu2.innerText=txt2.value.lengthif(ebj.style.cursor==""){sbzt.options[0].selected=true}else{for(i=0;i<sbzt.options.length;i++){if(sbzt.options[i].value==ebj.style.cursor)sbzt.options[i].selected=true}}if(ebj.title==""){tishibti.value=""}else{tishibti.value=ebj.title}tagnametext.innerText=ebj.tagNameobjcss[0].value=ebj.style.width.replace("px","");objcss[1].value=ebj.style.height.replace("px","");objcss[2].value=ebj.style.zIndex;objcss[3].value=ebj.style.left.replace("px","");objcss[4].value=ebj.style.top.replace("px","");ebj.ych!=null?yiych.innerText="是":yiych.innerText="否"ebj.print==true?printok.checked=true:printok.checked=falsegaoji1.style.left=tempx;gaoji1.style.top=tempy;gaoji1.style.display=''}break;case "文字化":  //文字化if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"image,textbox,group")==false)return falseswitch(ebj.tagName.toLowerCase()){case "shape":case "polyline":case "line":case "curve":case "arc":if(ebj.path.textpathok==true){alert(getxml("msg3",1));return false}break;}if(qxwzhua.checked){ebj.innerHTML=ebj.innerHTML.replace(/<v/:path .*<//v:path>/gi,'').replace(/<v/:textpath .*<//v:textpath>/gi,'')}else{str1=prompt("请输入一段用于图形轨迹填充的文字(支持中文)",ebj.textpath.string)if(!str1)return false;if(str1=='')return falseif(str1.indexOf("'")!=-1)return alert("输入的文字中不可含有违禁符号 ' 单引号")ebj.filled=trueebj.fillcolor=wzys2.valueebj.strokecolor=wzys3.valuewzzhanman.checked?htemp1="t":htemp1="f"ziti2.selectedIndex==0?tempziti="font-family:宋体;":tempziti="font-family:"+ziti2.options[ziti2.selectedIndex].text+";"temp2=ebj.innerHTML.replace(/<v/:path .*<//v:path>/gi,'').replace(/<v/:textpath .*<//v:textpath>/gi,'')ebj.innerHTML=temp2+"<v:path textpathok='True'/>/n<v:textpath fitpath='"+htemp1+"' on='True' style='font-size:"+wzdaxiao2.options[wzdaxiao2.selectedIndex].text+"px;"+tempziti+"' string='"+str1+"'/>"}}break;case "阴影":  //阴影if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(nouse(ebj,"textbox,group")==false)return false;if(qxyying.checked){ebj.shadow.on=false}else{ebj.shadow.offset=zypianyi.options[zypianyi.selectedIndex].text+"px,"+sxpianyi.options[sxpianyi.selectedIndex].text+"px"ebj.shadow.color=yyingys.valueebj.shadow.opacity=yyinglidu.options[yyinglidu.selectedIndex].textebj.shadow.on=true}}break;case "滤镜":  //滤镜if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){if(qxlvjing.checked){ebj.style.filter="";return false}str1=""if(tmxishu.selectedIndex!=0)str1="alpha(opacity="+tmxishu.options[tmxishu.selectedIndex].text+",style="+tmys.options[tmys.selectedIndex].value+")"if(mohudu.selectedIndex!=0)str1+=" blur(add=0,direction=14,strength="+mohudu.options[mohudu.selectedIndex].text+")"if(niuqudu.selectedIndex!=0)str1+=" wave(add=0,freq=,lightstrength=5,phase=5,strength="+niuqudu.options[niuqudu.selectedIndex].text+")"if(ghd.selectedIndex!=0)str1+=" glow(color="+guanghuiys.value+",strength="+ghd.options[ghd.selectedIndex].text+")"if(gray.checked)str1+=" gray";if(xray.checked)str1+=" xray";if(invert.checked)str1+=" invert";if(light.checked)str1+=" light";if(fudiao.checked)str1+=" progId:DXImagetransform.microsoft.Emboss()";if(yandiao.checked)str1+=" progid:DXImageTransform.Microsoft.Engrave()";ebj.style.filter=str1}break;case "缩放":  //缩放if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){str1=sufbili.options[sufbili.selectedIndex].textstr1=="取消缩放"?ebj.style.zoom=null:ebj.style.zoom=str1}else{if(!confirm("当前鼠标指针下没有固定目标,你是想一次性缩放控制所有的图形?"))return falsestr1=sufbili.options[sufbili.selectedIndex].textstr1=="取消缩放"?str1=null:str1=str1for(i=0;i<div1.children.length;i++){div1.children[i].style.zoom=str1}}break;case "旋转":  //旋转mobj=null;if((ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group")&&wtxz1!=0)ebj.style.rotation='';break;case "定义ID":  //定义ID标识if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){str1=prompt("请设置当前目标的ID名称用以标识,简化编程时的目标控制/nID格式必须是英文或英文+数字,格式如:obj、obj1、oval1/n允许多个图形使用同一个ID名称",ebj.id)if(str1!=null){if(ebj.id!=str1){if(str1.replace(//w+/g,"").length!=0){alert('ID名称必须使用英文或英文+数字的格式!此次更新无效');return false}ebj.id=str1;getallid()}}}break;case "增加":  //增加事件编程if(ebj.tagName=="group"){objorthis="this";tempstr1="";sjobj=ebjif(eval('ebj.temp_on'+selectsj.value)!=null)sjtxt.value=eval('ebj.temp_on'+selectsj.value);else sjtxt.value=""chxu1[0].style.display=n;chxu1[1].style.display=n;chxu1[2].style.display='';chxu1[3].style.display=nsj1.style.left=tempx;sj1.style.top=tempy;sj1.style.display=""break;}if(ebj.parentElement.id=="div1"||ebj.parentElement.tagName=="group"){objorthis="this";tempstr1="";sjobj=ebjif(eval('ebj.temp_on'+selectsj.value)!=null)sjtxt.value=eval('ebj.temp_on'+selectsj.value);else sjtxt.value=""chxu1[0].style.display='';chxu1[1].style.display=n;chxu1[2].style.display=n;chxu1[3].style.display=nsj1.style.left=tempx;sj1.style.top=tempy;sj1.style.display=""}else{alert('光标下没有图形,无法进行事件编程')}break;}zzxt=div1.innerHTML;}}function document.onmouseup(){  //针对功能按钮切换时var ebj=event.srcElementif(ebj.tagName=="BUTTON"&&event.button==1){ebj.blur();if(ebj.className=="bon1")return true;for(i=0;i<hb.length;i++)if(hb[i].className!="bon2"){hb[i].className="bon2";break;}ebj.className="bon1";oldbitext=bitextif(ebj.ps==null)bitext=ebj.innerText;else bitext=ebj.ps

    switch(bitext){  //定义鼠标形状case "调大小":case "旋转":div1.style.cursor="move";break;case "多边型":case "铅笔":case "贝塞曲":div1.style.cursor="default";break;case "直线":case "圆型":case "长方型":case "圆矩型":case "弧型":case "批选择":div1.style.cursor="crosshair";break;default:div1.style.cursor="hand"}bitext=="隐藏"?ych1.style.display='':ych1.style.display=nbitext=="铅笔"?qb1.style.display='':qb1.style.display=nbitext=="多边型"?jyx22.style.display='':jyx22.style.display=nbitext=="贝塞曲"?qx1.style.display='':qx1.style.display=nbitext=="弧型"?hx1.style.display='':hx1.style.display=nbitext=="缩放"?suf1.style.display='':suf1.style.display=nbitext=="文字化"?wzhua1.style.display='':wzhua1.style.display=nbitext=="填充"?tfill1.style.display='':tfill1.style.display=nbitext=="圆矩型"?yuanjuxing1.style.display='':yuanjuxing1.style.display=nbitext=="图片"?tp2.style.display='':tp2.style.display=nbitext=="文字"?wz2.style.display='':wz2.style.display=nbitext=="旋转"?xz1.style.display='':xz1.style.display=nbitext=="滤镜"?tm1.style.display='':tm1.style.display=nbitext=="批选择"?pxz1.style.display='':pxz1.style.display=nif(bitext=="立体"){lt1.style.display='';ltys.value=ltys.value==''?hbbj.value:ltys.value}else{lt1.style.display=n;}if(bitext=="边框"){bk1.style.display='';bkys.value=bkys.value==''?hbys.value:bkys.value}else{bk1.style.display=n;}if(bitext=="阴影"){yying1.style.display='';yyingys.value=yyingys.value==''?hbys.value:yyingys.value}else{yying1.style.display=n;}if(poly1!=null){poname=poly1.tagName.toLowerCase()if(oldbitext=="多边型"){   //清除多边型if(poname=="polyline"){div1.lastChild.outerHTML=div1.lastChild.outerHTML.replace(/ points = /".*?/"/,' points=/"'+oldvalue+'/"');oldvalue='';poly1=null}else{poly1.outerHTML="";oldvalue="";poly1=null;}}else if(oldbitext=="贝塞曲"){   //清除曲线poly1.outerHTML="";oldvalue="";poly1=null;buzhou=0}}hx2[0].checked=true;  //画笔专用工具进入绘图状态isqx[0].checked=true;isqx1=0wtwz[0].checked=true;wttp[0].checked=trueisych[0].checked=true

    bjtp1.style.display=n;wz1.style.display=n;tp1.style.display=n;gaoji1.style.display=n;sj1.style.display=n;jb.style.display=n;zhuijia1.style.display=n;colortab.style.display=n;cj.style.display=n;ydm.style.display=n  //结束其他未完成工作menu1.style.display=n;menu2.style.display=n}}

    jiazai("键盘支持、用户作品编译引擎)")function document.onkeydown(){   //实现各种快捷键eshift=event.shiftKey;ectrl=event.ctrlKey;ecode=event.keyCode;if(event.srcElement.tagName!='TEXTAREA'){ectrl&&ecode==90?chex_get():ectrl&&ecode==89?chex_get2():str1=1;!ectrl&&ecode==27?esc.click():str1=1if(event.srcElement.tagName!="INPUT"){with(document.all){if(ecode==8)return falseif(!ectrl&&ecode==13){if(cj.style.display!=n){cj.style.display=n;thisobj=null;return false}shiyunxing.click()}

    if(cj.style.display!=n){tx=parseInt(cj.style.left);ty=parseInt(cj.style.top);tw=parseInt(cj.style.width);th=parseInt(cj.style.height);objwid=thisobj.offsetWidth;objhei=thisobj.offsetHeight;tmove=1str1=thisobj.style.clip;if(str1==""){clips[0]=0;clips[1]=objwid;clips[2]=objhei;clips[3]=0;}else{str1=str1.replace(/[a-z/(/)/%]+/g,'');str1=str1.split(' ');for(i=0;i<4;i++)clips[i]=str1[i];}}else{tmove=0}

    if(!ectrl&&!eshift&&ecode==37){  //左键if(tmove==1){try{cj.style.width=tw-cjbuclips[1]-=cjbu;thisobj.style.clip="rect("+clips[0]+" "+clips[1]+" "+clips[2]+" "+clips[3]+")"}catch(e){cjerr()}return false}zuoyi.click();return false}if(!ectrl&&!eshift&&ecode==38){  //上键if(tmove==1){try{cj.style.height=th-cjbuclips[2]-=cjbu;thisobj.style.clip="rect("+clips[0]+" "+clips[1]+" "+clips[2]+" "+clips[3]+")"}catch(e){cjerr()}return false}shangyi.click();return false}if(!ectrl&&!eshift&&ecode==39){  //右键if(tmove==1){try{cj.style.left=tx+cjbu;cj.style.width=tw-cjbuclips[3]=parseInt(clips[3])+parseInt(cjbu);thisobj.style.clip="rect("+clips[0]+" "+clips[1]+" "+clips[2]+" "+clips[3]+")"}catch(e){cjerr()}return false}youyi.click();return false}if(!ectrl&&!eshift&&ecode==40){  //下健if(tmove==1){try{cj.style.top=ty+cjbu;cj.style.height=th-cjbuclips[0]=parseInt(clips[0])+parseInt(cjbu);thisobj.style.clip="rect("+clips[0]+" "+clips[1]+" "+clips[2]+" "+clips[3]+")"}catch(e){cjerr()}return false}xiayi.click();return false}}  //with(document.all)

    }} //!=textarea,input}function getformatvml(getwhoobj){  //优化VML代码return getwhoobj.replace(/><v/:/g,'>/n<v:').replace(/ = /g,'=').replace(//: /g,':').replace(//; /g,';').replace(/temp_/g,'').replace('<?xml:namespace prefix=v ns="urn:schemas-microsoft-com:vml" />/n','').replace(/ id=/"/"/g,"").replace(/ title=/"/"/g,"").replace(/ coordsize=/"21600,21600/"/g,"").replace(//"><//v/:/w+>/g,"/"//>").replace(///><//v/:/g,'/>/n</v:').replace(/:(/d+)px/g,":$1").replace(/ strokeweight="/.75pt"/g,' strokeweight="1px"')}function getallcode(yesgetall){   //编译函数timestring1=""  //存储侦式动画程序代码timestring2=""      //用于记录最久的最后一侦,用于配合“结束时循环播放”功能函数的创建endtime=0,theendtime=0,timefunstr=""  //用于记录流线动画的最长时间,比较侦式动画最长时间,得到影片总长度秒钟for(i=0;i<miaoarray.length;i++){if(miaoarray[i]!=null){timestring1+=('setTimeout("zlen++;stplce();'+miaoarray[i].replace(//"/g,'///"')+'","'+i+'000");/n');endtime=i*1000}}

    if(xunhuan1.checked==true){  //如果是循环播放动画timestring2='setTimeout("location.reload();",'+(endtime+1000)+');/n'}else{timestring2=""}if(timestring1!=""){timestring1="%^&!!script>/nfunction flashvml(){  //以下是侦式动画程序/n"+timestring1+timestring2+"}/n%^&!!/script>/n";fvmlfun="flashvml();/n";}else{fvmlfun=""}

    liuxianstr1=""  //存储流线动画程序代码for(i=0;i<dcitxt.length+1;i++){if(dcitxt[i]!=null){temp0='fvmlinval'+i+'="zlen2++;stplce();'+dcitxt[i].replace(//"/g,'///"')+'";/n'temp1="fvmlintime"+i+"=setInterval(fvmlinval"+i+","+dcitime2[i]+")"temp2="clearInterval(fvmlintime"+i+")"liuxianstr1+=(temp0+'setTimeout("'+temp1+'",'+(dcitime1[i]*1000)+');/nsetTimeout("'+temp2+'",'+(dcitime3[i]*1000)+');/n')if(dcitime3[i]*1000>theendtime)theendtime=dcitime3[i]*1000  //得到流线动画最长结束秒钟}}vmljsstr=""for(j=0;j<vmljs.length;j++){if(vmljs[j]!=null){vmljsstr=vmljsstr+getxml("vmljs"+vmljs[j],1);}}

    if(liuxianstr1!=""){liuxianstr1="%^&!!script>"+vmljsstr+"/nfunction flashvml2(){  //以下是流线动画程序/n"+liuxianstr1+"}/n%^&!!/script>/n";fvml2fun="flashvml2();/n"}else{fvml2fun=""}

    stchangfun=""if(endtime!=0||theendtime!=0){if(endtime>theendtime){timefunstr='"/'+endtime/1000+'"'}else{timefunstr='"/'+theendtime/1000+'"'}stchangfun="stchang();/n"}if(pbcw.checked){temp3="<script>/nfunction window.onerror(){return true;}  //防止您的程序出现错误时弹出提示/n;;;/script>/n"+statstime(timefunstr).replace(';;;','<')}else{temp3=statstime(timefunstr).replace(';;;','<')}if(wodejb=="function fun1(){/n/n}/n"||wodejb==""){str3=temp3}else{str3=temp3.replace(";;;","<")+'<script id=myscript language="javascript">/n'+wodejb+';;;/script>/n'}

    if(hb_gdt==0){gundongstr=" style='scrollbar-base-color:"+hb_gdtcor+";scrollbar-shadow-color:white;scrollbar-highlight-color:white;scrollbar-arrow-color:white;'"}else if(hb_gdt==1){gundongstr=""}else if(hb_gdt==2){gundongstr=" scroll=no"}

    if(hb_usemenu)jtemp=getxml("usermenu",1);else jtemp=""if(hb_bjyy1.value!='')jtemp2=" src='"+hb_bjyy1.value+"'";else jtemp2=""str1='<HTML xmlns:v="urn:schemas-microsoft-com:vml">/n<HEAD>/n<META name="Gemeratpr" content="FlashVml(璀灿之星)4.5">/n<META http-equiv="Content-Type" content="text/html;charset=gb2312">/n<META name="KeyWords" content="'+hb_bt.replace(/'/g,"")+','+getxml("metatits",1)+'">/n<TITLE>'+hb_bt+'</TITLE>/n<STYLE>/nv//:*{behavior:url(#default#VML);position:absolute;}/n.mlt{position:static;PADDING-TOP:6;letter-Spacing:4;HEIGHT:20;TEXT-ALIGN:center;margin-bottom:-2}/n</STYLE>/n'+str3.replace(";;;","<")+'</HEAD>/n<BODY bgcolor="'+hb_ys+'"'+gundongstr+'>/n<bgsound loop=1 id=bgsound1>/n<bgsound loop=-1 id=bgsound2'+jtemp2+'>/n'+timestring1.replace(//%/^/&/!/!/g,'<')+liuxianstr1.replace(//%/^/&/!/!/g,'<')+onloadstr(true).replace(";;;","<")+'/n'+jtemp+'/n'if(yesgetall==true){return str1+getformatvml(div1.innerHTML)+getxml("userjs2",1)}else{return str1}}

    function luxiang(){   //播放录像函数if(!czok())return falseif(div1.children.length<2){alert('要播放录像,您必须至少绘制2个基本图形');return false}strs=prompt('请为录像播放定义一个[毫秒步长],录像将会按照你定义的[毫秒步长]数有规律的刷新、播放,建议范围100-1000,默认为[300]毫秒',luxianghaomiao)if(strs!=null&&strs!=""){if(isNaN(strs)){alert('值格式必须为数字!');return false}if(strs<10||strs>10000){alert('可接受的数值范围为10-10000!');return false}luxianghaomiao=strs;str0="<script>/nlxyb=3;bodyobj=0;lxtime1=null;/ndocument.body.style.display='none';/nfunction lxbegin(){/nbodyobj=document.body.children.length;/nfor(i=0;i<bodyobj;i++){document.body.children[i].style.display='none'}/ndocument.body.style.display='';/nlxtime1=setInterval('if(lxyb<bodyobj){document.body.children[lxyb].style.display=/"/";}else{lxyb=3;bodyobj=0;clearInterval(lxtime1);setTimeout(/"lxbegin()/",2000);return false}lxyb++',"+strs+");/n}/n;;;/script>/n"

    if(hb_gdt==0){gundongstr=" style='scrollbar-base-color:"+hb_gdtcor+";scrollbar-shadow-color:white;scrollbar-highlight-color:white;scrollbar-arrow-color:white;'"}else if(hb_gdt==1){gundongstr=""}else if(hb_gdt==2){gundongstr=" scroll=no"}

    if(hb_bjyy1.value!='')jtemp2=" src='"+hb_bjyy1.value+"'";else jtemp2=""

    str1='<HTML xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">/n<HEAD>/n<META name="Gemeratpr" content="FlashVml(璀灿之星)4.5">/n<META http-equiv="Content-Type" content="text/html;charset=gb2312">/n<META name="KeyWords" content="'+hb_bt.replace(/'/g,"")+','+getxml("metatits",1)+'">/n<TITLE>'+hb_bt+' - 教学录像回放</TITLE>/n<STYLE>/nv//:*{behavior:url(#default#VML);position:absolute;}/no//:*{behavior:url(#default#VML);}/n</STYLE>/n'+statstime("").replace(';;;','<')+'</HEAD>/n<BODY bgcolor="'+hb_ys+'"'+gundongstr+'>/n<bgsound loop=1 id=bgsound1>/n<bgsound loop=-1 id=bgsound2'+jtemp2+'>/n'+onloadstr(false).replace("}/n;;;","/nlxbegin();/n}/n<")+'/n'+str0.replace(';;;','<')+getformatvml(div1.innerHTML)+'</BODY>/n</HTML>'win1=window.open("","lshdic1");win1.document.open()win1.document.write(str1);win1.document.close();win1.moveTo(0,0);win1.resizeTo(screen.availWidth,screen.availHeight);win1.focus()}}</script> 


    最新回复(0)