zoukankan      html  css  js  c++  java
  • 中国海域系统源代码

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="inin1(),init(),initCollections(),startTimer(),complete(),success(),inin()"  layout="absolute" xmlns:ns1="zdims.map.*" fontSize="12" xmlns:ns2="zdims.control.*" width="1287" height="960" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#A7B698, #FBFCFB]"
                     viewSourceURL="srcview/index.html" xmlns:ns3="zdims.draw.*"  xmlns:ns4="zdims.control.layer.*" xmlns:ns5="*">
        <ns1:IMSMap id="map" levelNum="7"
        x="208"
        y="57"
        width="808"
        height="540"
        xMinMap="-44751.390194999985"
        xMaxMap="1638174.2695834301"
        yMinMap="471196.246746663"
        yMaxMap="3565840.8081545513"    visible="true" borderColor="#0DFF01">
         
         <ns1:VectorMapDoc id="mapdoc" mapDocName="矢量图层1.map" serverAddress="127.0.0.1:5141">
         </ns1:VectorMapDoc> 
         <ns2:NavigationBar visible="false" imsmap="{map}" id="navigator">
         </ns2:NavigationBar>
         <ns2:IMSWindow height="271" width="185" title="窗口换肤" borderColor="#FFFFFF" backgroundColor="{cp.selectedColor}" cornerRadius="7" id="HFHF" visible="false">
          <mx:Label x="3" y="5" text="1:个性换肤:"/>
          <mx:ColorPicker x="22" y="172" id="cp" selectedColor="#D2EEEC"/>
          <mx:TextInput x="10" y="87" id="logo"/>
          <mx:Label x="22" y="33" text="背景图像地址:"/>
          <mx:Label x="22" y="33" text="背景图像地址:"/>
          <mx:CheckBox x="7" y="140" label="普通换肤:" id="PThf" change="asd()"/>
          <mx:Button x="98" y="119" label="换肤" fontWeight="normal" click="HHFFF()"/>
          <mx:Button x="10" y="203" label="还原" fontWeight="normal" click="HHFFFF()"/>
          <mx:Label x="10" y="59" text="Embed(&quot;image/pf/p1.jpg&quot;)"/>
         </ns2:IMSWindow>
         <ns2:Chart id="chart" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:Chart>
         <ns2:MarkerEdit id="markEditor" imsmap="{map}" visible="false">
         </ns2:MarkerEdit>
         <ns2:Editor id="editCtrl" visible="false" imsmap="{map}">
         </ns2:Editor>
         <ns2:IMSWindow height="157" width="212" title="论坛登录窗口" id="luntan" borderColor="#FDFEFD" visible="false" x="309" y="151" cornerRadius="7">
          <mx:Label x="3" y="9" text="欢迎来到海域论坛,这里是论坛风云"/>
          <mx:Label x="2" y="33" text="请输入您的真实姓名:"/>
          <mx:TextInput x="10" y="61" id="m1"/>
          <mx:Button x="118" y="93" label="登录" fontWeight="normal" click="denglu()"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow title="论坛风云" cornerRadius="7" borderColor="#FBFDFB" height="490" visible="false" id="liuyan">
          <mx:Image x="0" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="93" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="187" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="279" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="372" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="462" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="481" y="0" source="image/pf/p1.jpg" width="95" height="67"/>
          <mx:Image x="30" y="0" width="303" height="69">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/clip_image006.gif</mx:source>
          </mx:Image>
          <mx:Label x="10" y="77" text="主人寄语:天苍苍,野茫茫,风吹草低见牛羊" fontWeight="bold" fontSize="16"/>
          <mx:TextArea x="110" y="105" width="456" height="88" borderColor="#000102" id="m2"/>
          <mx:Button x="505" y="199" label="发表" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="fabiao()"/>
          <mx:Button x="495" y="401" label="下一页" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="normal" height="23" click="xyy1()"/>
          <mx:Button x="406" y="401" label="上一页" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="normal" height="23" click="syy()"/>
          <mx:Button x="178" y="428" label="开始管理" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="normal" click="KSG()"/>
          <mx:Button x="48" y="428" label="管理员管理" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="normal" click="GLY()"/>
          <mx:Image x="-1" y="105" source="file:///d|/My Documents/My Pictures/记录图标.gif" width="103" height="88"/>
          <mx:Label x="30" y="203" text="———————————————————————————————————————-"/>
          <mx:Label x="30" y="287" text="—————————————————————————————————————————————"/>
          <mx:Label x="31" y="373" text="—————————————————————————————————————————————"/>
          <mx:Label x="318" y="401" text="第" fontWeight="normal" fontSize="14"/>
          <mx:Label x="373" y="401" text="页" fontWeight="normal" fontSize="14"/>
          <mx:TextInput x="339" y="401" width="33" id="m7"/>
          <mx:Label x="10" y="401" text="管理账号:"/>
          <mx:TextInput x="66" y="399" width="81" id="wasd1" enabled="false"/>
          <mx:Label x="173" y="402" text="管理密码:"/>
          <mx:TextInput x="229" y="400" width="81" id="wasd2" enabled="false" displayAsPassword="true"/>
          <mx:Label x="30" y="247" fontWeight="normal" id="m3" fontSize="14" width="55"/>
          <mx:Label x="30" y="328" fontWeight="normal" id="m5" fontSize="14" width="55"/>
          <mx:Label x="93" y="247" fontWeight="normal" width="464" id="m4" fontSize="14" color="{cp1.selectedColor}"/>
          <mx:Label x="93" y="328" fontWeight="normal" width="464" id="m6" fontSize="14" color="{cp1.selectedColor}"/>
          <mx:Button x="493" y="272" label="删除" height="20" fontWeight="normal" enabled="false" id="dps3" click="DPS3()"/>
          <mx:Button x="493" y="356" label="删除" height="20" fontWeight="normal" enabled="false" id="dps6" click="DPS6()"/>
          <mx:Button x="444" y="272" label="编辑" height="20" fontWeight="normal" enabled="false" id="dps2" click="DPS2()"/>
          <mx:Button x="395" y="272" label="置顶" height="20" fontWeight="normal" enabled="false" id="dps1" click="DPS1()"/>
          <mx:Button x="444" y="356" label="编辑" height="20" fontWeight="normal" enabled="false" id="dps5" click="DPS5()"/>
          <mx:Button x="395" y="356" label="置顶" height="20" fontWeight="normal" enabled="false" id="dps4" click="DPS4()"/>
          <mx:Image x="3" y="423" source="file:///d|/My Documents/My Pictures/管理员图标.gif" height="33" width="37"/>
          <mx:Image x="138" y="423" source="file:///d|/My Documents/My Pictures/管理员图标.gif" height="33" width="37"/>
          <mx:VRule x="315" y="384" width="1" height="72"/>
          <mx:ColorPicker x="535" y="80" selectedColor="#FD0214" id="cp1"/>
          <mx:Label x="468" y="81" text="字体颜色:"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow height="150" width="246" cornerRadius="0" borderColor="#FCFDFC" title="编辑窗口" id="BJCK" visible="false" x="241" y="163">
          <mx:Label x="6" y="6" text="请输入修改后的内容:"/>
          <mx:TextArea x="10" y="34" width="222" id="dps7"/>
          <mx:Button x="181" y="86" label="确认" fontWeight="normal" width="51" click="DPS7()"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow title="关于我们COST开发小组" borderColor="#FFFFFF" backgroundColor="#FAFBFA" cornerRadius="7" width="566" height="538" visible="false" id="oox" x="77" y="10">
          <mx:Image x="235" y="0" width="138" height="89">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/a2.jpg</mx:source>
          </mx:Image>
          <mx:Image x="352" y="0" width="138" height="89">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/a2.jpg</mx:source>
          </mx:Image>
          <mx:Image x="424" y="0" width="138" height="89">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/a2.jpg</mx:source>
          </mx:Image>
          <mx:Image x="0" y="-1" width="140" height="92">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/a2.jpg</mx:source>
          </mx:Image>
          <mx:Image x="112" y="-1" width="140" height="92">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/a2.jpg</mx:source>
          </mx:Image>
          <mx:Image x="27" y="0">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/clip_image003.gif</mx:source>
          </mx:Image>
          <mx:Image x="20" y="116" source="file:///d|/My Documents/My Pictures/管理员图标.gif"/>
          <mx:Label x="195" y="97" text="我们COST开发小组信息展示" fontSize="18" fontWeight="bold"/>
          <mx:Label x="196" y="133" text="开发口号:COST——To Be Number One"/>
          <mx:Label x="196" y="161" text="开发TIME:"/>
          <mx:Label x="196" y="189" text="开发内容:中国海域系统"/>
          <mx:Label x="265" y="161" text="COST——20120705-20120831" color="#4E5EBB"/>
          <mx:Label x="15" y="215" text="————————————————————小组展示————————————————————"/>
          <mx:Image x="10" y="235" source="image/COST/山西左正康.jpg" height="129" width="91"/>
          <mx:Label x="109" y="235" text="姓名:左正康"/>
          <mx:Label x="109" y="257" text="性别:男"/>
          <mx:Label x="109" y="278" text="学号:0027"/>
          <mx:Label x="109" y="300" text="家乡:山西"/>
          <mx:Label x="109" y="323" text="湖北大学"/>
          <mx:Label x="109" y="344" text="资环地信11级"/>
          <mx:Image x="10" y="372" source="image/COST/海南廖慧婷.jpg" height="129" width="91"/>
          <mx:Label x="109" y="372" text="姓名:廖慧婷"/>
          <mx:Label x="109" y="394" text="性别:女"/>
          <mx:Label x="109" y="415" text="学号:0018"/>
          <mx:Label x="109" y="437" text="家乡:海南"/>
          <mx:Label x="109" y="460" text="湖北大学"/>
          <mx:Label x="109" y="481" text="资环地信11级"/>
          <mx:Image x="193" y="372" source="image/COST/安徽李倩倩.jpg" height="129" width="91"/>
          <mx:Label x="292" y="372" text="姓名:李倩倩"/>
          <mx:Label x="292" y="394" text="性别:女"/>
          <mx:Label x="292" y="415" text="学号:0006"/>
          <mx:Label x="292" y="437" text="家乡:安徽"/>
          <mx:Label x="292" y="460" text="湖北大学"/>
          <mx:Label x="292" y="481" text="资环地信11级"/>
          <mx:Image x="193" y="235" source="image/COST/山东赵正义.jpg" height="129" width="91"/>
          <mx:Label x="292" y="235" text="姓名:赵正义"/>
          <mx:Label x="292" y="257" text="性别:男"/>
          <mx:Label x="292" y="278" text="学号:0012"/>
          <mx:Label x="292" y="300" text="家乡:山东"/>
          <mx:Label x="292" y="323" text="湖北大学"/>
          <mx:Label x="292" y="344" text="资环地信11级"/>
          <mx:Image x="381" y="235" source="image/COST/湖北夏雪飞.jpg" height="129" width="91"/>
          <mx:Label x="480" y="235" text="姓名:夏雪飞"/>
          <mx:Label x="480" y="257" text="性别:男"/>
          <mx:Label x="480" y="278" text="学号:0042"/>
          <mx:Label x="480" y="300" text="家乡:湖北"/>
          <mx:Label x="480" y="323" text="湖北大学"/>
          <mx:Label x="480" y="344" text="资环地信11级"/>
         </ns2:IMSWindow>
         <ns1:IMSEagleEye id="eagle" width="211" height="151" eagleLocation="右上">
         </ns1:IMSEagleEye>
         <ns2:IMSWindow height="460" width="444" borderColor="#FCFEFC" title="关于COST【China Ocean SysTem】" cornerRadius="7" id="gyu" x="315" y="62" visible="false">
          <mx:Image x="4" y="0" width="87" height="75">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/33d_e270c71c_c28f_4f44_a4d3_b8a690db0992_0.gif</mx:source>
          </mx:Image>
          <mx:Image x="175" y="0" width="87" height="75">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/33d_e270c71c_c28f_4f44_a4d3_b8a690db0992_0.gif</mx:source>
          </mx:Image>
          <mx:Image x="261" y="0" width="90" height="75">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/33d_e270c71c_c28f_4f44_a4d3_b8a690db0992_0.gif</mx:source>
          </mx:Image>
          <mx:Image x="347" y="0" width="87" height="75">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/33d_e270c71c_c28f_4f44_a4d3_b8a690db0992_0.gif</mx:source>
          </mx:Image>
          <mx:Image x="89" y="0" width="87" height="75">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/33d_e270c71c_c28f_4f44_a4d3_b8a690db0992_0.gif</mx:source>
          </mx:Image>
          <mx:Image x="32" y="9">
           <mx:source>file:///C|/Documents and Settings/Administrator/桌面/clip_image001.gif</mx:source>
          </mx:Image>
          <mx:Label x="297" y="41" text="湖北大学COST开发组" fontWeight="bold"/>
          <mx:Image x="14" y="103" source="file:///d|/My Documents/My Pictures/求助图标.gif"/>
          <mx:Label x="180" y="83" text="WEB开发" fontWeight="bold" fontSize="16"/>
          <mx:Label x="180" y="109" text="中国海域系统" fontWeight="bold" fontSize="16" textDecoration="underline" fontStyle="italic"/>
          <mx:Label x="180" y="138" text="开发支持:Flex3.0    MapGIS技能大赛版"/>
          <mx:Label x="180" y="160" text="开发语言:MXML   HTML   AS    XML"/>
          <mx:Label x="180" y="183" text="BUILD 20120831" color="#021FFC"/>
          <mx:Label x="299" y="183" text="湖北大学COST开发组"/>
          <mx:Label x="180" y="206" text="http://www.COST.com.cn"/>
          <mx:Label x="26" y="225" text="_______________________________________________" height="18"/>
          <mx:Label x="26" y="307" text="_______________________________________________" height="18"/>
          <mx:Label x="26" y="251" text="系统功能:地图显示  查询  分析  编辑   热点岛屿分析"/>
          <mx:Label x="26" y="270" text="COST开发组:左正康      赵正义     夏雪飞       廖慧婷       李倩倩"/>
          <mx:Label x="26" y="291" text="COST开发组指导老师:梅新"/>
          <mx:Label x="26" y="333" text="警告:" fontWeight="bold"/>
          <mx:Label x="68" y="333" text="本计算机程序受著作权法和国际公约的保护,未经授权擅自复制"/>
          <mx:Label x="32" y="352" text="或传播本程序的部分或全部,可能受到严厉的民事及刑事制裁,并将在"/>
          <mx:Label x="32" y="372" text="法律许可的范围内受到最大可能的起诉。"/>
          <mx:Button x="313" y="380" label="确定" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="gyu.visible=false"/>
         </ns2:IMSWindow>
         <mx:Canvas width="200" height="196" backgroundColor="{cp.selectedColor}" id="dq_2" visible="false">
          <mx:Label x="6" y="9" text="海域系统小助手温馨提示:"/>
          <mx:Label x="7" y="37" text="当前多边形的信息:"/>
          <mx:Label x="7" y="65" text="多边形上的点序列:"/>
          <mx:TextArea x="5" y="93" width="190" height="97" id="dq_1"/>
          <mx:CheckBox x="121" y="35" label="监听" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" change="onChange4(event)"/>
         </mx:Canvas>
         <mx:Canvas width="200" height="174" backgroundColor="{cp.selectedColor}" id="ui3" visible="false">
          <mx:Label x="8" y="10" text="海域系统小助手温馨提示:"/>
          <mx:Label x="9" y="38" text="当前圆的位置信息:"/>
          <mx:Label x="10" y="85" text="圆心:"/>
          <mx:TextArea x="50" y="65" width="140" height="60" id="ui1"/>
          <mx:Label x="10" y="141" text="半径:"/>
          <mx:TextInput x="50" y="139" width="140" id="ui2"/>
          <mx:CheckBox x="130" y="35" label="监听" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" change="onChange3(event)"/>
         </mx:Canvas>
         <mx:Canvas width="213" height="175" backgroundColor="{cp.selectedColor}" id="pp" visible="false">
          <mx:Label x="7" y="10" text="海域系统小助手温馨提示:"/>
          <mx:Label x="10" y="38" text="当前的矩形范围:"/>
          <mx:TextArea x="5" y="66" height="104" id="lp" width="202"/>
          <mx:CheckBox x="110" y="34" label="监听" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" change="onChange2(event)"/>
         </mx:Canvas>
         <mx:Canvas width="401" height="158" backgroundColor="{cp.selectedColor}" id="pl" visible="false">
          <mx:Label x="6" y="3" text="海域系统小助手温馨提示:"/>
          <mx:Label x="6" y="31" text="当前线段的点坐标序列:"/>
          <mx:TextArea x="7" y="57" height="94" width="384" id="lo"/>
          <mx:CheckBox x="140" y="28" label="监听" selected="false" change="onChange1(event)"/>
         </mx:Canvas>
         <mx:Canvas width="193" height="77" backgroundColor="{cp.selectedColor}" id="opre" visible="false">
          <mx:Label x="4" y="4" text="海域系统小助手温馨提示:"/>
          <mx:Label x="4" y="27" text="您当前所处的位置为:"/>
          <mx:TextInput x="6" y="48" width="180" id="op"/>
          <mx:CheckBox x="132" y="25" label="监听" selected="true" id="opi" change="onChange(event)"/>
         </mx:Canvas>
         <ns2:IMSWindow height="319" width="249" borderColor="#FDFFFD" backgroundColor="{cp.selectedColor}" title="图片叠加地图" id="tdd" visible="false" cornerRadius="7">
          <mx:Label x="2" y="10" text="1:叠加示例图片:" width="113"/>
          <mx:Label x="3" y="126" text="2:请选择图片来源:"/>
          <mx:TextInput x="24" y="154" id="q44"/>
          <mx:Label x="3" y="186" text="3:请选择图片叠加位置:"/>
          <mx:TextInput x="39" y="214" id="q0" width="62"/>
          <mx:TextInput x="136" y="214" id="q_1" width="62"/>
          <mx:Label x="114" y="216" text="Y:"/>
          <mx:Label x="3" y="255" text="4:"/>
          <mx:Button x="27" y="251" label="叠加" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="djJ()"/>
          <mx:Label x="17" y="216" text="X:"/>
          <mx:CheckBox x="10" y="50" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q1" selected="false"/>
          <mx:Image x="32" y="38" source="image/example/p1.gif"/>
          <mx:CheckBox x="10" y="90" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q4"/>
          <mx:Image x="32" y="78" source="image/example/p4.gif"/>
          <mx:CheckBox x="80" y="90" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q5"/>
          <mx:Image x="102" y="78" source="image/example/p5.gif"/>
          <mx:CheckBox x="165" y="90" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q6"/>
          <mx:Image x="187" y="78" source="image/example/p6.gif"/>
          <mx:CheckBox x="80" y="50" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q2"/>
          <mx:Image x="114.5" y="48" source="image/mark/p1.gif" height="18" width="22" themeColor="#439CD4"/>
          <mx:CheckBox x="165" y="50" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q3"/>
          <mx:Image x="186" y="41" source="image/example/p7.gif" height="40" width="49" themeColor="#439CD4"/>
          <mx:Button x="156" y="10" label="more" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" width="55" fontSize="10" fontWeight="normal" cornerRadius="20" click="shili.visible=true"/>
          
         </ns2:IMSWindow>
         <ns2:IMSWindow height="135" width="250" title="示例图片" borderColor="#FAFDFA" backgroundColor="{cp.selectedColor}" id="shili" visible="false" cornerRadius="7">
          <mx:CheckBox x="10" y="10" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q7"/>
          <mx:CheckBox x="59" y="10" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q8"/>
          <mx:Image x="137" y="8" source="image/example/p11.gif" height="25"/>
          <mx:CheckBox x="115" y="10" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]"/>
          <mx:CheckBox x="177" y="10" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q10"/>
          <mx:Image x="204" y="5" source="image/example/p12.gif" height="25" width="32"/>
          <mx:CheckBox x="115" y="10" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q9"/>
          <mx:CheckBox x="10" y="42" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q11"/>
          <mx:Image x="81" y="40" source="image/example/p14.gif" height="25"/>
          <mx:Image x="81" y="10" source="image/example/p10.gif" height="25"/>
          <mx:Image x="31" y="40" source="image/example/p13.gif" height="23" width="29"/>
          <mx:CheckBox x="10" y="74" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q15"/>
          <mx:CheckBox x="59" y="74" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]"/>
          <mx:Image x="31" y="72" source="image/example/p17.gif" height="23" width="29"/>
          <mx:Image x="81" y="73" source="image/example/p18.gif" height="23" width="29"/>
          <mx:CheckBox x="59" y="74" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q16"/>
          <mx:Image x="81" y="73" source="image/example/p18.gif" height="23" width="29"/>
          <mx:CheckBox x="115" y="74" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q17"/>
          <mx:Image x="139" y="73" source="image/example/p19.gif" height="28" width="26"/>
          <mx:Image x="32" y="10" source="image/example/p9.gif" height="18" width="19"/>
          <mx:CheckBox x="59" y="42" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q12"/>
          <mx:Image x="138" y="40" source="image/example/p15.gif" height="25"/>
          <mx:CheckBox x="115" y="42" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q13"/>
          <mx:CheckBox x="177" y="42" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="q14"/>
          <mx:Image x="204" y="40" source="image/example/p16.gif" height="25" width="32"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow width="263" height="286" borderColor="#FFFFFF" title="坐标转换窗口" backgroundColor="{cp.selectedColor}" fontWeight="normal" id="oi" visible="false" cornerRadius="7">
          <mx:Label x="4" y="10" text="1:请选择转换类型:"/>
          <mx:CheckBox x="26" y="38" label="逻辑--窗口坐标" id="lj"/>
          <mx:CheckBox x="141" y="38" label="窗口--逻辑坐标" id="ck"/>
          <mx:Label x="10" y="70" text="2:请选择转换操作:"/>
          <mx:Label x="26" y="98" text="1:输入坐标:"/>
          <mx:Label x="110" y="98" text="X:"/>
          <mx:Label x="110" y="125" text="Y:"/>
          <mx:TextInput x="136" y="96" width="103" id="xxx"/>
          <mx:TextInput x="136" y="124" width="103" id="yyy"/>
          <mx:Button x="26" y="153" label="确认转换" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="bold" click="zhuan()"/>
          <mx:Label x="8" y="190" text="3:转换后的坐标:" width="119"/>
          <mx:Label x="10" y="218" width="239" id="ds"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow height="252" width="238" borderColor="#FEFEFE" backgroundColor="{cp.selectedColor}" title="添加标注点窗口" id="tt1" visible="false" cornerRadius="7">
          <mx:Label x="-1" y="10" text="1:输入添加标注点的位置坐标:"/>
          <mx:Label x="29" y="38" text="x坐标:"/>
          <mx:TextInput x="75" y="36" width="134" id="xx"/>
          <mx:TextInput x="75" y="66" width="134" id="yy"/>
          <mx:Label x="29" y="68" text="y坐标:"/>
          <mx:Label x="-1" y="96" text="2:输入标注点的图片信息:"/>
          <mx:Label x="19" y="124" text="marker.setIconSrc:"/>
          <mx:TextInput x="15.5" y="152" width="203" id="zz"/>
          <mx:Label x="158" y="124" text="图片来源:" width="71"/>
          <mx:Button x="157" y="184" label="确认" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="que()"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow height="232" width="480" borderColor="#FFFFFF" backgroundColor="{cp.selectedColor}" title="添加线窗口" id="xi" visible="false" cornerRadius="7">
          <mx:Label x="10" y="10" text="请输入线结点坐标:"/>
          <mx:Label x="10" y="38" text="第1个线结点:"/>
          <mx:Label x="101" y="38" text="x坐标:"/>
          <mx:Label x="101" y="66" text="y坐标:"/>
          <mx:TextInput x="145" y="36" width="86" id="x1"/>
          <mx:TextInput x="145" y="64" width="86" id="y1"/>
          <mx:Label x="10" y="108" text="第2个线结点:"/>
          <mx:Label x="101" y="108" text="x坐标:"/>
          <mx:Label x="101" y="136" text="y坐标:"/>
          <mx:TextInput x="145" y="106" width="86" id="x2"/>
          <mx:TextInput x="145" y="134" width="86" id="y2"/>
          <mx:Label x="245" y="38" text="第3个线结点:"/>
          <mx:Label x="336" y="38" text="x坐标:"/>
          <mx:Label x="336" y="66" text="y坐标:"/>
          <mx:TextInput x="380" y="36" width="86" id="x3"/>
          <mx:TextInput x="380" y="64" width="86" id="y3"/>
          <mx:Label x="245" y="108" text="第4个线结点:"/>
          <mx:Label x="336" y="108" text="x坐标:"/>
          <mx:Label x="336" y="136" text="y坐标:"/>
          <mx:TextInput x="380" y="106" width="86" id="x4"/>
          <mx:TextInput x="380" y="134" width="86" id="y4"/>
          <mx:Button x="315" y="164" label="添加这条线" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" fontWeight="normal" click="xian()"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow width="196" height="248" backgroundColor="{cp.selectedColor}" borderColor="#FCFEFC" title="添加点窗口" id="tjdck" visible="false" cornerRadius="7">
          <mx:Label x="8" y="10" text="选择添加点的个数:"/>
          <mx:NumericStepper x="61" y="38" id="zzw"/>
          <mx:Label x="10" y="70" text="输入添加点的坐标:"/>
          <mx:Label x="10" y="119" text="x坐标:"/>
          <mx:Label x="10" y="151" text="y坐标:"/>
          <mx:TextInput x="56" y="117" width="108" id="za1"/>
          <mx:TextInput x="56" y="149" width="108" id="za2"/>
          <mx:Button x="96" y="180" label="确认添加" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="qrtj()"/>
          <mx:Button x="10" y="180" label="下一页" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" click="xyy()"/>
          <mx:Label x="10" y="91" text="第1个点:" id="zx"/>
         </ns2:IMSWindow>
         <ns2:IMSWindow width="198" height="247" borderColor="#FEFFFE" backgroundColor="{cp.selectedColor}" title="图层更新窗口" id="tcgx" visible="false" cornerRadius="7">
          <mx:Label x="10" y="122" text="3:选择哪些图层不可见:"/>
          <mx:ComboBox x="10" y="151" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" dataProvider="{cards}" close="closeHandler2(event)" width="144"></mx:ComboBox>
          <mx:Label x="10" y="11" text="1:选择更新图层个数:"/>
          <mx:NumericStepper x="10" y="41" id="xz"/>
          <mx:Button x="102" y="182" label="确认" fillAlphas="[1.0, 1.0, 1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF]" click="bkj1()"/>
          <mx:CheckBox x="10" y="94" label="可见" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="kj"/>
          <mx:CheckBox x="93" y="94" label="不可见" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="bkj"/>
          <mx:Label x="10" y="73" text="2:选择操作类型:"/>
         </ns2:IMSWindow>
         
         <ns1:IMSEagleEye id="eagle1" width="404" height="281.5" eagleLocation="左上" visible="false" >
               <ns1:TileLayer hdfName="Wh3D1.HDF" serverAddress="127.0.0.1:5142">
               </ns1:TileLayer> 
         </ns1:IMSEagleEye>
        
         <ns1:IMSEagleEye id="eagle2" width="404" height="281.5" eagleLocation="右上" visible="false">
               <ns1:TileLayer hdfName="Wh3D1.HDF" serverAddress="127.0.0.1:5142">
               </ns1:TileLayer> 
         </ns1:IMSEagleEye>
               
         <ns1:IMSEagleEye id="eagle3" width="404" height="281.5" eagleLocation="左下" visible="false">
               <ns1:TileLayer hdfName="Wh3D1.HDF" serverAddress="127.0.0.1:5142">
               </ns1:TileLayer>
         </ns1:IMSEagleEye>
         
         <ns1:IMSEagleEye id="eagle4" width="404" height="281.5" eagleLocation="右下" visible="false">
               <ns1:TileLayer hdfName="Wh3D1.HDF" serverAddress="127.0.0.1:5142">
               </ns1:TileLayer>
         </ns1:IMSEagleEye>
         
         
         <ns2:IMSWindow id="dj" width="250" height="200" layout="absolute" backgroundColor="{cp.selectedColor}" borderColor="#FDFFFD" title="多级显示" visible="false" cornerRadius="7">
          <mx:NumericStepper x="36" y="31" id="ns1"/>
          <mx:NumericStepper x="36" y="97" id="ns3"/>
          <mx:NumericStepper x="133" y="97" id="ns4"/>
          <mx:NumericStepper x="133" y="31" id="ns2"/>
          <mx:Label x="5" y="3" text="左上窗口显示级别"/>
          <mx:Label x="5" y="63" text="左下窗口显示级别"/>
          <mx:Label x="118" y="63" text="右下窗口显示级别"/>
          <mx:Label x="119" y="3" text="右上窗口显示级别"/>
          <mx:Button x="133" y="129" label="yes" cornerRadius="20" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="yes" click="djxs()"/>
         </ns2:IMSWindow>
         
         <ns2:Magnifier id="magnifier" imsmap="{map}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:Magnifier>
         
         
         <ns2:Measure imsmap="{map}" unitLength="1" id="measureCtrl" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:Measure>
         <ns2:BufferAnalyse id="bufferCtrl" layerDataViewer="{layerData}" imsmap="{map}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:BufferAnalyse>
         <ns2:OverLayAnalyse id="overlayObj" imsmap="{map}" layerDataViewer="{layerData}" vectorObj="{mapdoc}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:OverLayAnalyse>
         <ns2:ClipAnalyse id="clip" imsmap="{map}" layerDataViewer="{layerData}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:ClipAnalyse>
         <ns4:LayerDataViewer id="layerData" imsmap="{map}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns4:LayerDataViewer>
         <ns2:TopAnalyse id="topCtrl" imsmap="{map}" visible="false" backgroundColor="{cp.selectedColor}">
         </ns2:TopAnalyse>
         <ns2:IMSWindow close="close()" id="Pan" width="240" height="130" layout="absolute" title="欢迎栏"  verticalScrollPolicy="off" mouseOver="move_pause3()" mouseOut="move_resume3()" 
              fontSize="13" backgroundColor="{cp.selectedColor}" cornerRadius="7" borderColor="#FEFEFE" visible="true" fontWeight="bold">    
               <mx:VBox height="100%" width="100%">   
                    <mx:Canvas id="ca" width="231" height="60"    
                        verticalScrollPolicy="off" mouseOver="move_pause()" mouseOut="move_resume()">    
                        <mx:Text id="tt" width="94%" horizontalCenter="0"    
                            text="中国海域系统欢迎您的到来!" verticalCenter="0" color="#040404" fontSize="16" fontWeight="normal" height="22">    
                        </mx:Text>    
                    </mx:Canvas>   
                    <mx:Canvas id="ca0"    
                        verticalScrollPolicy="off" mouseOver="move_pause1()" mouseOut="move_resume1()" width="100%" height="48" fontWeight="bold">   
                         <mx:Text id="aa" width="94%" horizontalCenter="0"  text="欢迎光临,谢谢大家的捧场!" verticalCenter="0" color="#050505" fontSize="16" fontWeight="normal"/>   
                    </mx:Canvas>   
                    
               </mx:VBox>   
          </ns2:IMSWindow>
         <mx:Grid>
          <mx:GridRow width="100%" height="100%">
          </mx:GridRow>
          <mx:GridRow width="100%" height="100%">
          </mx:GridRow>
          <mx:GridRow width="100%" height="100%">
          </mx:GridRow>
         </mx:Grid>
         <ns2:MapDocDataViewer id="dataViewer" imsmap="{map}" visible="false" chartCtrl="{chart}" editor="{editCtrl}">
         </ns2:MapDocDataViewer>
         <mx:Panel id="canvas" width="258" height="230" layout="absolute" visible="false" title="温馨提示" fontSize="16" textDecoration="normal" enabled="true" horizontalScrollPolicy="off" includeInLayout="false" verticalScrollPolicy="off">
             <mx:Label x="1" y="0" text="尊贵的夏雪飞用户:您一共在系统中停留了" fontSize="12" height="20"/>
             <mx:Label id="mylabel" x="64.5" y="37" text="Label" fontSize="20" fontWeight="bold" textDecoration="underline"/>
             <mx:Label x="2" y="86" text="感谢您对本系统的支持,欢迎下次使用" fontSize="13"/>
             <mx:Button x="40" y="123" label="返回" fontSize="12" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#88D053, #88D053]" click="canvas.visible=false,startTimer()"/>
             <mx:Button x="141" y="122" label="退出" fontSize="12" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#88D053, #88D053]"/>
         </mx:Panel>
        </ns1:IMSMap>
        <mx:Move id="move_up" target="{tt}" />    
        <mx:Move id="move_up1" target="{aa}" />  
        <mx:Move id="move_up2" target="{lbl1}" />  
        <mx:Move id="move_up3" target="{Pan}" />  
        
        
        <mx:Script>
       
        <![CDATA[
        [Bindable]
        [Embed("image/pf/p1.jpg")]
        private var flexLogo1:Class;
        [Bindable]
        [Embed("image/pf/p2.jpg")]
        private var flexLogo2:Class;
        [Bindable]
        [Embed("image/pf/p3.jpg")]
        private var flexLogo3:Class;
        [Bindable]
        [Embed("image/pf/p4.jpg")]
        private var flexLogo4:Class;
        [Bindable]
        [Embed("image/pf/p5.jpg")]
        private var flexLogo5:Class;
        [Bindable]
        [Embed("image/pf/p6.jpg")]
        private var flexLogo6:Class;
        [Bindable]
        [Embed("image/pf/p7.jpg")]
        private var flexLogo7:Class;
        [Bindable]
        [Embed("image/pf/p8.jpg")]
        private var flexLogo8:Class;
        [Bindable]
        [Embed("image/pf/p9.jpg")]
        private var flexLogo9:Class;
        [Bindable]
        [logo.text]
        private var flexLogo:Class;
        
     
        import Mapgis7.WebService.BasLib.CGetGeomSelectSet;
        import zdims.event.IMSMapMoveEvent;
        import zdims.control.IMSPieChart;
        
        private var a:int=0;
        private var b:String;
        private var c:int=0;
        private var d:int;
        private var i:int=1;
        private var s:int=1;
        private var m1_1:int=0;
        private var m3_1:int=0;
        private var nn1:int;
        private var nn2:int;
        private var nn3:int;
        private var dota1:int;
        private var dota2:int;
        private var JL1:Array=new Array();
        private var JL2:Array=new Array();
        private var JL3:Array=new Array();
        
        private var JJ1:int=0;
        private var JJ2:int=0;
        private var JJ3:int=0;
        private var JJ4:int=0;
        private var jj1:Array=new Array();
        private var jj2:Array=new Array();
        private var jj3:Array=new Array();
        private var jj4:Array=new Array();
        private var fgh:int;
        public var a1:String="@Embed(source='image/pf/p1.gif')";
        
        
        private const MIN_MASK:String = "00";    
        private const SEC_MASK:String = "00";    
        private const MS_MASK:String = "000";    
        private const TIMER_INTERVAL:int = 10;    
      
        private var baseTimer:int;    
      
        private var t:Timer;  
        private var spatialObj:SpacialAnalyse=null;
        
        import Mapgis7.WebService.BasLib.Dot_2D;
        import Mapgis7.WebService.BasLib.Circle;
        import Mapgis7.WebService.BasLib.Rect;
        import zdims.control.IMSPoint;
        import zdims.control.IMSRoad;
        import zdims.control.Marker;
        
        import Mapgis7.WebService.BasLib.CAttDataRow;
        import Mapgis7.WebService.BasLib.CAttDataTable;
        import Mapgis7.WebService.BasLib.CAttDataSet;
        import Mapgis7.WebService.BasLib.CGetObjByID;
        import Mapgis7.WebService.BasLib.CMapSelectAndGetAtt;
        
        import mx.collections.ArrayCollection;
        
        import flash.utils.Timer;    
        import mx.printing.FlexPrintJob;
        import flash.events.TimerEvent;  
        import flash.events.MouseEvent;
        
        import flash.filters.GlowFilter;
        import Mapgis7.WebService.BasLib.IWebGeometry;
        
        import mx.collections.*;
        
        import mx.events.MenuEvent;
        
        import mx.controls.Alert;
        import zdims.event.IMSMapMouseEvent;
        import zdims.util.SpacialAnalyse;
        import zdims.event.IMSMapEvent;
        import zdims.util.IMSOperType;
        import Mapgis7.WebService.BasLib.CGetGdbList;
        import Mapgis7.WebService.BasLib.EXClsType;
        import Mapgis7.WebService.BasLib.CGetXClsList;
        import Mapgis7.WebService.BasLib.Polygon;
        import Mapgis7.WebService.BasLib.WebGraphicsInfo;
        import Mapgis7.WebService.BasLib.SFeature;
        import Mapgis7.WebService.BasLib.CAttDataRow;
        import Mapgis7.WebService.BasLib.CAttDataTable;
        import Mapgis7.WebService.BasLib.CAttDataSet;
        import Mapgis7.WebService.BasLib.CGetObjByID;
        import Mapgis7.WebService.BasLib.CMapSelectAndGetAtt;
        import Mapgis7.WebService.BasLib.EnumLayerStatus;
        import Mapgis7.WebService.BasLib.CMapSelectParam;
        import Mapgis7.WebService.BasLib.EWebGeomType;
        import Mapgis7.WebService.BasLib.ESelectionType;
        import Mapgis7.WebService.BasLib.CWebSelectParam;
        import mx.core.UIComponent;
        public function HHFFFF():void
        {
         cp.selectedColor=0xD2EEEC;
        }
        public function asd():void
        {
         if(PThf.selected==true)
         {
          can0.setStyle("backgroundImage", null);
                   pf4.setStyle("backgroundImage", null);
                   pf_4.setStyle("backgroundImage", null);
                   can.setStyle("backgroundImage", null);
                   can1.setStyle("backgroundImage", null);
                   AA1.setStyle("backgroundImage", null);
                   AA2.setStyle("backgroundImage", null);
                   AA3.setStyle("backgroundImage", null);
                   luntan.setStyle("backgroundImage", null);
                   liuyan.setStyle("backgroundImage", null);
                   BJCK.setStyle("backgroundImage", null);
                   oox.setStyle("backgroundImage", null);
                   gyu.setStyle("backgroundImage", null);
                   HFHF.setStyle("backgroundImage", null);
                   dq_2.setStyle("backgroundImage", null);
                   ui3.setStyle("backgroundImage", null);
                   pp.setStyle("backgroundImage", null);
                   pl.setStyle("backgroundImage", null);
                   opre.setStyle("backgroundImage", null);
                   tdd.setStyle("backgroundImage", null);
                   shili.setStyle("backgroundImage", null);
                   oi.setStyle("backgroundImage", null);
                   tt1.setStyle("backgroundImage",null);
                   xi.setStyle("backgroundImage", null);
                   canvas.setStyle("backgroundImage", null);
                   tjdck.setStyle("backgroundImage", null);
                   tcgx.setStyle("backgroundImage", null);
                   dj.setStyle("backgroundImage", null);
                   Pan.setStyle("backgroundImage", null);
         }
        }
     
        public function HHFFF():void
        {
         can0.setStyle("backgroundImage", flexLogo);
                   pf4.setStyle("backgroundImage", flexLogo);
                   pf_4.setStyle("backgroundImage", flexLogo);
                   can.setStyle("backgroundImage", flexLogo);
                   can1.setStyle("backgroundImage", flexLogo);
                   AA1.setStyle("backgroundImage", flexLogo);
                   AA2.setStyle("backgroundImage", flexLogo);
                   AA3.setStyle("backgroundImage", flexLogo);
                   luntan.setStyle("backgroundImage", flexLogo);
                   liuyan.setStyle("backgroundImage", flexLogo);
                   BJCK.setStyle("backgroundImage", flexLogo);
                   oox.setStyle("backgroundImage", flexLogo);
                   gyu.setStyle("backgroundImage", flexLogo);
                   HFHF.setStyle("backgroundImage", flexLogo);
                   dq_2.setStyle("backgroundImage", flexLogo);
                   ui3.setStyle("backgroundImage", flexLogo);
                   pp.setStyle("backgroundImage", flexLogo);
                   pl.setStyle("backgroundImage", flexLogo);
                   opre.setStyle("backgroundImage", flexLogo);
                   tdd.setStyle("backgroundImage", flexLogo);
                   shili.setStyle("backgroundImage", flexLogo);
                   oi.setStyle("backgroundImage", flexLogo);
                   tt1.setStyle("backgroundImage", flexLogo);
                   xi.setStyle("backgroundImage", flexLogo);
                   canvas.setStyle("backgroundImage", flexLogo);
                   tjdck.setStyle("backgroundImage", flexLogo);
                   tcgx.setStyle("backgroundImage", flexLogo);
                   dj.setStyle("backgroundImage", flexLogo);
                   Pan.setStyle("backgroundImage", flexLogo);
        }
        /**
     * 欢迎栏
        */
        private function close():void
        {
         Pan.visible=false;
        }
        private function complete():void    
        {    
              move_up.yFrom = ca.height - 6;     //"加6减6是为了首尾连接更加自然"    
              move_up.yTo = 0 - tt.height + 6;   //同上    
              move_up.repeatCount = 0; //无限次重复    
              move_up.repeatDelay = 0; //重复时间,毫秒    
              move_up.duration = 6000; //滚动一次的时间,毫秒    
              move_up.play();    
        }    
                   
        private function move_pause():void    
        {    
              move_up.pause();   //暂停    
        }    
                   
        private function move_resume():void    
        {    
              move_up.resume(); //从暂停位置开始    
        }    
        private function success():void    
        {    
              move_up1.yFrom = ca.height - 6;     //"加6减6是为了首尾连接更加自然"    
              move_up1.yTo = 0 - aa.height + 6;   //同上    
              move_up1.repeatCount = 0; //无限次重复    
              move_up1.repeatDelay = 0; //重复时间,毫秒    
              move_up1.duration = 6000; //滚动一次的时间,毫秒    
              move_up1.play();    
        }    
                   
        private function move_pause1():void    
        {    
              move_up1.pause();   //暂停    
        }    
                   
        private function move_resume1():void    
        {    
              move_up1.resume(); //从暂停位置开始    
        }   
        
        private function inin():void    
        {    
              move_up2.yFrom = can.height-6;     //"加6减6是为了首尾连接更加自然"    
              move_up2.yTo = 0 - lbl1.height+6 ;   //同上    
              move_up2.repeatCount = 0; //无限次重复    
              move_up2.repeatDelay = 0; //重复时间,毫秒    
              move_up2.duration = 10000; //滚动一次的时间,毫秒    
              move_up2.play();    
        }    
                   
        private function move_pause2():void    
        {    
              move_up2.pause();   //暂停    
        }    
                   
        private function move_resume2():void    
        {    
              move_up2.resume(); //从暂停位置开始    
        }    
        
        private function inin1():void    
        {    
              move_up3.xFrom = map.width-6;     //"加6减6是为了首尾连接更加自然"    
              move_up3.xTo = 0 - Pan.height+6 ;   //同上    
              move_up3.repeatCount = 0; //无限次重复    
              move_up3.repeatDelay = 0; //重复时间,毫秒    
              move_up3.duration = 10500; //滚动一次的时间,毫秒    
              move_up3.play();    
        }    
                   
        private function move_pause3():void    
        {    
              move_up3.pause();   //暂停    
        }    
                   
        private function move_resume3():void    
        {    
              move_up3.resume(); //从暂停位置开始    
        }    
        
        
        /**
     * 菜单栏
        */
        [Bindable]
        public var menuBarCollection:XMLListCollection;
        private var menubarXML:XMLList =
                    <>
                        
                        <menuitem label="查询定位" data="top">
                            <menuitem label="几何查询" data="1A">
                                 <menuitem label="画点查询" type="check"  data="1A-1" groupName="one"/>
                                 <menuitem label="画线查询" type="check"  data="1A-2" groupName="one"/>
                                 <menuitem label="画圆查询" type="check"  data="1A-3" groupName="one"/>
                                 <menuitem label="矩形查询" type="check"  data="1A-4" groupName="one"/>
                                 <menuitem label="多边形查询" type="check"  data="1A-5" groupName="one"/>
                            </menuitem>
                            <menuitem type="separator"/>
                            <menuitem label="条件查询" data="1B"/>
                            <menuitem type="separator"/>
                            <menuitem label="复杂查询" data="1C">
                                 <menuitem label="画点条件查询" type="radio"  data="1C-1" groupName="one"/>
                                 <menuitem label="画线条件查询" type="radio"  data="1C-2" groupName="one"/>
                                 <menuitem label="画圆条件查询" type="radio"  data="1C-3" groupName="one"/>
                                 <menuitem label="矩形条件查询" type="radio"  data="1C-4" groupName="one"/>
                                 <menuitem label="多边形条件查询" type="radio"  data="1C-5" groupName="one"/>
                             </menuitem>
                        </menuitem>
                        
                        <menuitem label="分析" data="top1">
                            <menuitem label="统计分析" data="2A"/>
                            <menuitem label="空间分析" data="2B">
                                 <menuitem label="拓扑分析" type="check"  data="2B-1" groupName="one"/>
                                 <menuitem label="叠加分析" type="check"  data="2B-2" groupName="one"/>
                                 <menuitem label="缓冲区分析" type="check"  data="2B-3" groupName="one"/>
                                 <menuitem label="裁剪分析" type="check"  data="2B-4" groupName="one">
                                      <menuitem label="圆裁剪" type="check"  data="2B-4-1" groupName="one"/>
                                      <menuitem label="多边形裁剪" type="check"  data="2B-4-2" groupName="one"/>
                                 </menuitem>
                            </menuitem>
                        </menuitem>
                        
                        <menuitem label="工具" data="top2">
                            <menuitem label="地图基本操作" data="3A">
                                 <menuitem label="放大" type="check"  data="3A-1" groupName="one"/>
                                 <menuitem label="缩小" type="check"  data="3A-2" groupName="one"/>
                                 <menuitem label="移动" type="check"  data="3A-3" groupName="one"/>
                                 <menuitem label="更新" type="check"  data="3A-4" groupName="one"/>
                                 <menuitem label="复位" type="check"  data="3A-5" groupName="one"/>
                            </menuitem>
                            <menuitem label="地图显示级别控制" data="3B">
                                 <menuitem label="单级显示" type="check"  data="3B-1" groupName="one"/>
                                 <menuitem label="多级显示" type="check"  data="3B-2" groupName="one"/>
                            </menuitem>
                            <menuitem label="常用工具" data="3C">
                                 <menuitem label="鹰眼" type="check"  data="3C-1" groupName="one"/>
                                 <menuitem label="放大镜" type="check"  data="3C-2" groupName="one"/>
                                 <menuitem label="测量" type="check"  data="3C-3" groupName="one"/>
                                 <menuitem label="导航条" type="check"  data="3C-4" groupName="one"/>
                            </menuitem>
                            <menuitem label="图层状态更新" data="3D"/>
                         </menuitem>
                         
                         <menuitem label="地图编辑" data="top3">
                            <menuitem label="图形绘制" data="4A">
                                 <menuitem label="绘点" type="check"  data="4A-1" groupName="one"/>
                                 <menuitem label="绘线" type="check"  data="4A-2" groupName="one"/>
                                 <menuitem label="绘圆" type="check"  data="4A-3" groupName="one"/>
                                 <menuitem label="绘矩形" type="check"  data="4A-4" groupName="one"/>
                                 <menuitem label="绘多边形" type="check"  data="4A-5" groupName="one"/>
                            </menuitem>
                            <menuitem label="图形添加" data="4B">
                                 <menuitem label="添加点" type="check"  data="4B-1" groupName="one"/>
                                 <menuitem label="添加线" type="check"  data="4B-2" groupName="one"/>
                                 <menuitem label="添加标注点" type="check"  data="4B-3" groupName="one"/>
                            </menuitem>
                            <menuitem label="要素编辑" data="4C">
                                 <menuitem label="空间几何编辑" type="check"  data="4C-1" groupName="one">
                                     <menuitem label="添加空间要素" type="check"  data="4C-1-1" groupName="one"/>
                                     <menuitem label="要素修改与删除" type="check"  data="4C-1-2" groupName="one"/>
                                
                                 </menuitem>
                                 <menuitem label="属性编辑" type="check"  data="4C-2" groupName="one"/>
                            </menuitem>
                            <menuitem label="添加热区" data="4D"/>
                            <menuitem label="清空操作" data="4E"/>
                         </menuitem>
                         
                         <menuitem label="视图" data="top4">
                             <menuitem label="地图浏览分类" data="4a">
                                 <menuitem label="瓦片地图" data="4a-1"/>
                                 <menuitem label="矢量地图文档" data="4a-2"/>
                                 <menuitem label="矢量图层" data="4a-3"/>
                                 <menuitem label="谷歌地图" data="4a-4"/>
                                 <menuitem label="地图叠加" data="4a-5"/>
                             </menuitem>
                             <menuitem label="皮肤" data="4b">
                                 <menuitem label="黄花绿叶" data="4b-1"/>
                                 <menuitem label="中国神龙" data="4b-2"/>
                                 <menuitem label="清新橘黄" data="4b-3"/>
                                 <menuitem label="温馨竹腊" data="4b-4"/>
                                 <menuitem label="朵朵黄花" data="4b-5"/>
                                 <menuitem label="四童欢舞" data="4b-6"/>
                                 <menuitem label="清新百花" data="4b-7"/>
                                 <menuitem label="仙人指路" data="4b-8"/>
                                 <menuitem label="鹤立鸡群" data="4b-9"/>
                                 <menuitem label="进入换肤窗口" data="4b-10"/>
                             </menuitem>
                         </menuitem>
                         
                         <menuitem label="选项" data="top5">
                             <menuitem label="坐标转换" data="5A"/>
                             <menuitem label="图片叠加地图" data="5B"/>
                             <menuitem label="信息获取" data="5B">
                                <menuitem label="获取对象属性" data="5C"/>
                                <menuitem label="获取图层信息" data="5G"/>
                                <menuitem label="要素图形参数" data="5H">
                                   <menuitem label="获取要素图形参数" type="check"  data="5H-1" groupName="one"/>
                                   <menuitem label="更新要素图形参数" type="check"  data="5H-2" groupName="one"/>
                                </menuitem>
                                <menuitem label="鼠标获取图形信息" data="5I">
                                   <menuitem label="获取点" type="check"  data="5I-1" groupName="one"/>
                                   <menuitem label="获取线" type="check"  data="5I-2" groupName="one"/>
                                   <menuitem label="获取矩形" type="check"  data="5I-3" groupName="one"/>
                                   <menuitem label="获取圆" type="check"  data="5I-4" groupName="one"/>
                                   <menuitem label="获取多边形" type="check"  data="5I-5" groupName="one"/>
                                </menuitem>
                                <menuitem label="图层索引" data="5J-1"/>
                                <menuitem label="获取MapGIS数据源列表" data="5J"/>
                                <menuitem label="获取MapGIS数据源中的数据库列表" data="5K"/>
                                <menuitem label="获取MapGIS数据库中的图层列表" data="5L"/>
                             </menuitem>
                             <menuitem label="地图移动操作" data="5D">
                                <menuitem label="地图定向移动" data="5D"/>
                                <menuitem label="居中显示地图" data="5F"/>
                              </menuitem>
                             <menuitem label="地图文档目录" data="5E"/>
                         </menuitem>
                         
                         <menuitem label="热岛分析" data="top6">
                             <menuitem label="黄岩岛" data="top6-1"/>
                             <menuitem label="钓鱼岛" data="top6-2"/>
                         </menuitem>
                         
                         <menuitem label="论坛风云" data="top7">
                             <menuitem label="进入论坛风云登陆窗口" data="top7-1"/>
                         </menuitem>
                         
                         <menuitem label="关于我们" data="top8">
                             <menuitem label="关于我们COST开发小组" data="top8-1"/>
                             <menuitem label="关于我们COST导师" data="top8-2"/>
                             <menuitem label="关于我们COST作品" data="top8-3"/>
                         </menuitem>
                         
                         <menuitem label="帮助" data="top9">
                              <menuitem label="快速入门" data="top9-1"/>
                              <menuitem label="用户手册" data="top9-2"/>
                              <menuitem label="COST版本信息" data="top9-3"/>
                         </menuitem>
                         
                         <menuitem label="返回主页" data="top10"/>
                    </>;
        private function initCollections():void 
        {
               menuBarCollection = new XMLListCollection(menubarXML);
        }
               
        private function menuHandler(event:MenuEvent):void  
        {
           if(event.item.@data=="1A-1")                                                    //画点查询
           {
                this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByHitting);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick);
           }
           if(event.item.@data=="1A-2")                                                    //画线查询
           {
                this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByLine);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack1);
           }
                    
              if (event.item.@data == "1A-3")                                                 //画圆查询
              {
                    this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByCircle);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack);
              }    
              if (event.item.@data == "1A-4")                                                 //矩形查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByRect);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack2);
              }
              if (event.item.@data == "1A-5")                                                 //多边形查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByPolygon);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack3);
              }
              if (event.item.@data != "1B")
              {
               kk0.enabled=false;
              }
              if (event.item.@data != "1C"&&event.item.@data != "1B")                     //在其他条件下使得其不可编辑
              {    
                 textArea.enabled=false;
                 zk.enabled=false;
              }
              if (event.item.@data == "1B")                                                 //条件查询
              {   kk0.enabled=true;
                 textArea.enabled=true;
                 zk.enabled=true;
              }
              if (event.item.@data == "1C-1"||event.item.@data == "1C-2"||event.item.@data == "1C-3"||event.item.@data == "1C-4"||event.item.@data == "1C-5")  //复杂查询
              {    
                 textArea.enabled=true;
                 zk.enabled=true;
              }
              if (event.item.@data == "1C-1")                                                 //画点条件查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByHitting);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick4);
              }
              if (event.item.@data == "1C-2")                                                 //画线条件查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByLine);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack4);
              }
              if (event.item.@data == "1C-3")                                                 //画圆条件查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByCircle);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack5);
              }
              if (event.item.@data == "1C-4")                                                 //矩形条件查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByRect);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack6);
              }
              if (event.item.@data == "1C-5")                                                 //多边形条件查询
              {    
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.setCurOper(IMSOperType.SelectByPolygon);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack7);
              }
              if (event.item.@data == "2A")      //统计分析
              {
                   
              } 
              if (event.item.@data == "2B-1")      //拓扑分析
              {
                   this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.activeMapDoc=this.mapdoc;
                    this.map.activeMapDoc.activeLayerIndex=a;
                    this.topCtrl.visible=true;
              }
              if (event.item.@data == "2B-2")      //叠加分析
              {
                   this.overlayObj.visible=true;
              }
              if (event.item.@data == "2B-3")      //缓冲区分析
              {
                    this.mapdoc.getMapLayerInfo(c).LayerStatus=EnumLayerStatus.Selectable;
                     this.mapdoc.updateAllLayerInfo();
                     this.map.setCurOper(IMSOperType.SelectByHitting);
                     
                     this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick12);
              }
              if (event.item.@data == "2B-4-1")      //圆裁剪分析
              {
                   this.mapdoc.getMapLayerInfo(c).LayerStatus=EnumLayerStatus.Editable;
                    this.mapdoc.updateAllLayerInfo();
                    this.map.activeMapDoc=this.mapdoc;
                    this.map.activeMapDoc.activeLayerIndex=c;
                    this.map.setCurOper(IMSOperType.SelectByCircle);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,this.clip.clipDocByCircle);
              }
              if (event.item.@data == "2B-4-2")      //多边形裁剪分析
              {
                    this.mapdoc.getMapLayerInfo(c).LayerStatus=EnumLayerStatus.Editable;
                     this.mapdoc.updateAllLayerInfo();
                     this.map.activeMapDoc=this.mapdoc;
                     this.map.activeMapDoc.activeLayerIndex=c;
                     this.map.setCurOper(IMSOperType.SelectByPolygon);
                     this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.clip.clipDocByPolygon);
              }
              if (event.item.@data == "3A-1")      //放大
              {
                    this.map.setCurOper(IMSOperType.ZoomIn);
              }
              if (event.item.@data == "3A-2")      //缩小
              {
                    this.map.setCurOper(IMSOperType.ZoomOut);
              }
              if (event.item.@data == "3A-3")      //移动
              {
                    this.map.setCurOper(IMSOperType.Drag);
              }
              if (event.item.@data == "3A-5")      //复位
              {
                    this.map.setCurOper(IMSOperType.Restore);
              }
              if (event.item.@data == "3A-4")      //更新
              {
                    this.map.setCurOper(IMSOperType.Refresh);
              }
              if (event.item.@data == "3C-1")      //鹰眼
              {
                    this.eagle.switchEagleEye();
              }
              if (event.item.@data == "3C-2")      //放大镜
              {
                     setVisibility(this.magnifier);
              }
              if (event.item.@data == "3C-3")      //测量
              {
                     setVisibility(this.measureCtrl);
              }
              if (event.item.@data == "3C-3")      //测量
              {
                     
              }
              if (event.item.@data == "3C-4")      //导航条
              {
                     setVisibility(this.navigator);
              }
              if (event.item.@data == "3B-2")      //多级显示
              {
                     dj.visible=true;
              }
              if (event.item.@data == "3D")      //图层更新
              {
                    tcgx.visible=true;
              }
              if (event.item.@data == "4A-1")      //绘点
              {
                    this.map.setCurOper(IMSOperType.SelectByHitting);
         this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,drawPoint);
              }
              if (event.item.@data == "4A-2")      //绘线
              {  
                    this.map.setCurOper(IMSOperType.SelectByLine);
         this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,draw);
              } 
              if (event.item.@data == "4A-3")      //绘圆
              {
                    this.map.setCurOper(IMSOperType.SelectByCircle);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,drawPoint1);
              }
              if (event.item.@data == "4A-4")      //绘矩形
              {
                    this.map.setCurOper(IMSOperType.SelectByRect);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,draw1);
              }
              if (event.item.@data == "4A-5")      //绘多边形
              {
                    this.map.setCurOper(IMSOperType.SelectByPolygon);
                    this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,draw2);
              }
              if (event.item.@data == "4E")      //清空操作
              {
                    delDot();
              }
              if (event.item.@data == "4B-1")      //添加点
              {
                    tjdck.visible=true;
              }
              if (event.item.@data == "4B-2")      //添加线
              {
                    xi.visible=true;
              }
              if (event.item.@data == "4B-3")      //添加标注点
              {
                    tt1.visible=true;
              }
              if (event.item.@data == "5A")      //坐标转换
              {
                    oi.visible=true;
              }
              if (event.item.@data == "5B")      //图片叠加地图
              {
                    tdd.visible=true;
              }
              if (event.item.@data == "4b-1")      //p1
              {
                   can0.setStyle("backgroundImage", flexLogo1);
                   pf4.setStyle("backgroundImage", flexLogo1);
                   pf_4.setStyle("backgroundImage", flexLogo1);
                   can.setStyle("backgroundImage", flexLogo1);
                   can1.setStyle("backgroundImage", flexLogo1);
                   AA1.setStyle("backgroundImage", flexLogo1);
                   AA2.setStyle("backgroundImage", flexLogo1);
                   AA3.setStyle("backgroundImage", flexLogo1);
                   luntan.setStyle("backgroundImage", flexLogo1);
                   liuyan.setStyle("backgroundImage", flexLogo1);
                   BJCK.setStyle("backgroundImage", flexLogo1);
                   oox.setStyle("backgroundImage", flexLogo1);
                   gyu.setStyle("backgroundImage", flexLogo1);
                   HFHF.setStyle("backgroundImage", flexLogo1);
                   dq_2.setStyle("backgroundImage", flexLogo1);
                   ui3.setStyle("backgroundImage", flexLogo1);
                   pp.setStyle("backgroundImage", flexLogo1);
                   pl.setStyle("backgroundImage", flexLogo1);
                   opre.setStyle("backgroundImage", flexLogo1);
                   tdd.setStyle("backgroundImage", flexLogo1);
                   shili.setStyle("backgroundImage", flexLogo1);
                   oi.setStyle("backgroundImage", flexLogo1);
                   tt1.setStyle("backgroundImage", flexLogo1);
                   xi.setStyle("backgroundImage", flexLogo1);
                   canvas.setStyle("backgroundImage", flexLogo1);
                   tjdck.setStyle("backgroundImage", flexLogo1);
                   tcgx.setStyle("backgroundImage", flexLogo1);
                   dj.setStyle("backgroundImage", flexLogo1);
                   Pan.setStyle("backgroundImage", flexLogo1);
              }
              if (event.item.@data == "4b-2")      //p2
              {
                   can0.setStyle("backgroundImage", flexLogo2);
                   pf4.setStyle("backgroundImage", flexLogo2);
                   pf_4.setStyle("backgroundImage", flexLogo2);
                   can.setStyle("backgroundImage", flexLogo2);
                   can1.setStyle("backgroundImage", flexLogo2);
                   AA1.setStyle("backgroundImage", flexLogo2);
                   AA2.setStyle("backgroundImage", flexLogo2);
                   AA3.setStyle("backgroundImage", flexLogo2);
                   luntan.setStyle("backgroundImage", flexLogo2);
                   liuyan.setStyle("backgroundImage", flexLogo2);
                   BJCK.setStyle("backgroundImage", flexLogo2);
                   oox.setStyle("backgroundImage", flexLogo2);
                   gyu.setStyle("backgroundImage", flexLogo2);
                   HFHF.setStyle("backgroundImage", flexLogo2);
                   dq_2.setStyle("backgroundImage", flexLogo2);
                   ui3.setStyle("backgroundImage", flexLogo2);
                   pp.setStyle("backgroundImage", flexLogo2);
                   pl.setStyle("backgroundImage", flexLogo2);
                   opre.setStyle("backgroundImage", flexLogo2);
                   tdd.setStyle("backgroundImage", flexLogo2);
                   shili.setStyle("backgroundImage", flexLogo2);
                   oi.setStyle("backgroundImage", flexLogo2);
                   tt1.setStyle("backgroundImage", flexLogo2);
                   xi.setStyle("backgroundImage", flexLogo2);
                   canvas.setStyle("backgroundImage", flexLogo2);
                   tjdck.setStyle("backgroundImage", flexLogo2);
                   tcgx.setStyle("backgroundImage", flexLogo2);
                   dj.setStyle("backgroundImage", flexLogo2);
                   Pan.setStyle("backgroundImage", flexLogo2);
              }
              if (event.item.@data == "4b-3")      //p3
              {
                   can0.setStyle("backgroundImage", flexLogo3);
                   pf4.setStyle("backgroundImage", flexLogo3);
                   pf_4.setStyle("backgroundImage", flexLogo3);
                   can.setStyle("backgroundImage", flexLogo3);
                   can1.setStyle("backgroundImage", flexLogo3);
                   AA1.setStyle("backgroundImage", flexLogo3);
                   AA2.setStyle("backgroundImage", flexLogo3);
                   AA3.setStyle("backgroundImage", flexLogo3);
                   luntan.setStyle("backgroundImage", flexLogo3);
                   liuyan.setStyle("backgroundImage", flexLogo3);
                   BJCK.setStyle("backgroundImage", flexLogo3);
                   oox.setStyle("backgroundImage", flexLogo3);
                   gyu.setStyle("backgroundImage", flexLogo3);
                   HFHF.setStyle("backgroundImage", flexLogo3);
                   dq_2.setStyle("backgroundImage", flexLogo3);
                   ui3.setStyle("backgroundImage", flexLogo3);
                   pp.setStyle("backgroundImage", flexLogo3);
                   pl.setStyle("backgroundImage", flexLogo3);
                   opre.setStyle("backgroundImage", flexLogo3);
                   tdd.setStyle("backgroundImage", flexLogo3);
                   shili.setStyle("backgroundImage", flexLogo3);
                   oi.setStyle("backgroundImage", flexLogo3);
                   tt1.setStyle("backgroundImage", flexLogo3);
                   xi.setStyle("backgroundImage", flexLogo3);
                   canvas.setStyle("backgroundImage", flexLogo3);
                   tjdck.setStyle("backgroundImage", flexLogo3);
                   tcgx.setStyle("backgroundImage", flexLogo3);
                   dj.setStyle("backgroundImage", flexLogo3);
                   Pan.setStyle("backgroundImage", flexLogo3);
              }
              if (event.item.@data == "4b-4")      //p4
              {
                   can0.setStyle("backgroundImage", flexLogo4);
                   pf4.setStyle("backgroundImage", flexLogo4);
                   pf_4.setStyle("backgroundImage", flexLogo4);
                   can.setStyle("backgroundImage", flexLogo4);
                   can1.setStyle("backgroundImage", flexLogo4);
                   AA1.setStyle("backgroundImage", flexLogo4);
                   AA2.setStyle("backgroundImage", flexLogo4);
                   AA3.setStyle("backgroundImage", flexLogo4);
                   luntan.setStyle("backgroundImage", flexLogo4);
                   liuyan.setStyle("backgroundImage", flexLogo4);
                   BJCK.setStyle("backgroundImage", flexLogo4);
                   oox.setStyle("backgroundImage", flexLogo4);
                   gyu.setStyle("backgroundImage", flexLogo4);
                   HFHF.setStyle("backgroundImage", flexLogo4);
                   dq_2.setStyle("backgroundImage", flexLogo4);
                   ui3.setStyle("backgroundImage", flexLogo4);
                   pp.setStyle("backgroundImage", flexLogo4);
                   pl.setStyle("backgroundImage", flexLogo4);
                   opre.setStyle("backgroundImage", flexLogo4);
                   tdd.setStyle("backgroundImage", flexLogo4);
                   shili.setStyle("backgroundImage", flexLogo4);
                   oi.setStyle("backgroundImage", flexLogo4);
                   tt1.setStyle("backgroundImage", flexLogo4);
                   xi.setStyle("backgroundImage", flexLogo4);
                   canvas.setStyle("backgroundImage", flexLogo4);
                   tjdck.setStyle("backgroundImage", flexLogo4);
                   tcgx.setStyle("backgroundImage", flexLogo4);
                   dj.setStyle("backgroundImage", flexLogo4);
                   Pan.setStyle("backgroundImage", flexLogo4);
              }
              if (event.item.@data == "4b-5")      //p5
              {
                   can0.setStyle("backgroundImage", flexLogo5);
                   pf4.setStyle("backgroundImage", flexLogo5);
                   pf_4.setStyle("backgroundImage", flexLogo5);
                   can.setStyle("backgroundImage", flexLogo5);
                   can1.setStyle("backgroundImage", flexLogo5);
                   AA1.setStyle("backgroundImage", flexLogo5);
                   AA2.setStyle("backgroundImage", flexLogo5);
                   AA3.setStyle("backgroundImage", flexLogo5);
                   luntan.setStyle("backgroundImage", flexLogo5);
                   liuyan.setStyle("backgroundImage", flexLogo5);
                   BJCK.setStyle("backgroundImage", flexLogo5);
                   oox.setStyle("backgroundImage", flexLogo5);
                   gyu.setStyle("backgroundImage", flexLogo5);
                   HFHF.setStyle("backgroundImage", flexLogo5);
                   dq_2.setStyle("backgroundImage", flexLogo5);
                   ui3.setStyle("backgroundImage", flexLogo5);
                   pp.setStyle("backgroundImage", flexLogo5);
                   pl.setStyle("backgroundImage", flexLogo5);
                   opre.setStyle("backgroundImage", flexLogo5);
                   tdd.setStyle("backgroundImage", flexLogo5);
                   shili.setStyle("backgroundImage", flexLogo5);
                   oi.setStyle("backgroundImage", flexLogo5);
                   tt1.setStyle("backgroundImage", flexLogo5);
                   xi.setStyle("backgroundImage", flexLogo5);
                   canvas.setStyle("backgroundImage", flexLogo5);
                   tjdck.setStyle("backgroundImage", flexLogo5);
                   tcgx.setStyle("backgroundImage", flexLogo5);
                   dj.setStyle("backgroundImage", flexLogo5);
                   Pan.setStyle("backgroundImage", flexLogo5);
              }
              if (event.item.@data == "4b-6")      //p6
              {
                   can0.setStyle("backgroundImage", flexLogo6);
                   pf4.setStyle("backgroundImage", flexLogo6);
                   pf_4.setStyle("backgroundImage", flexLogo6);
                   can.setStyle("backgroundImage", flexLogo6);
                   can1.setStyle("backgroundImage", flexLogo6);
                   AA1.setStyle("backgroundImage", flexLogo6);
                   AA2.setStyle("backgroundImage", flexLogo6);
                   AA3.setStyle("backgroundImage", flexLogo6);
                   luntan.setStyle("backgroundImage", flexLogo6);
                   liuyan.setStyle("backgroundImage", flexLogo6);
                   BJCK.setStyle("backgroundImage", flexLogo6);
                   oox.setStyle("backgroundImage", flexLogo6);
                   gyu.setStyle("backgroundImage", flexLogo6);
                   HFHF.setStyle("backgroundImage", flexLogo6);
                   dq_2.setStyle("backgroundImage", flexLogo6);
                   ui3.setStyle("backgroundImage", flexLogo6);
                   pp.setStyle("backgroundImage", flexLogo6);
                   pl.setStyle("backgroundImage", flexLogo6);
                   opre.setStyle("backgroundImage", flexLogo6);
                   tdd.setStyle("backgroundImage", flexLogo6);
                   shili.setStyle("backgroundImage", flexLogo6);
                   oi.setStyle("backgroundImage", flexLogo6);
                   tt1.setStyle("backgroundImage", flexLogo6);
                   xi.setStyle("backgroundImage", flexLogo6);
                   canvas.setStyle("backgroundImage", flexLogo6);
                   tjdck.setStyle("backgroundImage", flexLogo6);
                   tcgx.setStyle("backgroundImage", flexLogo6);
                   dj.setStyle("backgroundImage", flexLogo6);
                   Pan.setStyle("backgroundImage", flexLogo6);
              }
              if (event.item.@data == "4b-7")      //p7
              {
                   can0.setStyle("backgroundImage", flexLogo7);
                   pf4.setStyle("backgroundImage", flexLogo7);
                   pf_4.setStyle("backgroundImage", flexLogo7);
                   can.setStyle("backgroundImage", flexLogo7);
                   can1.setStyle("backgroundImage", flexLogo7);
                   AA1.setStyle("backgroundImage", flexLogo7);
                   AA2.setStyle("backgroundImage", flexLogo7);
                   AA3.setStyle("backgroundImage", flexLogo7);
                   luntan.setStyle("backgroundImage", flexLogo7);
                   liuyan.setStyle("backgroundImage", flexLogo7);
                   BJCK.setStyle("backgroundImage", flexLogo7);
                   oox.setStyle("backgroundImage", flexLogo7);
                   gyu.setStyle("backgroundImage", flexLogo7);
                   HFHF.setStyle("backgroundImage", flexLogo7);
                   dq_2.setStyle("backgroundImage", flexLogo7);
                   ui3.setStyle("backgroundImage", flexLogo7);
                   pp.setStyle("backgroundImage", flexLogo7);
                   pl.setStyle("backgroundImage", flexLogo7);
                   opre.setStyle("backgroundImage", flexLogo7);
                   tdd.setStyle("backgroundImage", flexLogo7);
                   shili.setStyle("backgroundImage", flexLogo7);
                   oi.setStyle("backgroundImage", flexLogo7);
                   tt1.setStyle("backgroundImage", flexLogo7);
                   xi.setStyle("backgroundImage", flexLogo7);
                   canvas.setStyle("backgroundImage", flexLogo7);
                   tjdck.setStyle("backgroundImage", flexLogo7);
                   tcgx.setStyle("backgroundImage", flexLogo7);
                   dj.setStyle("backgroundImage", flexLogo7);
                   Pan.setStyle("backgroundImage", flexLogo7);
              }
              if (event.item.@data == "4b-8")      //p8
              {
                   can0.setStyle("backgroundImage", flexLogo8);
                   pf4.setStyle("backgroundImage", flexLogo8);
                   pf_4.setStyle("backgroundImage", flexLogo8);
                   can.setStyle("backgroundImage", flexLogo8);
                   can1.setStyle("backgroundImage", flexLogo8);
                   AA1.setStyle("backgroundImage", flexLogo8);
                   AA2.setStyle("backgroundImage", flexLogo8);
                   AA3.setStyle("backgroundImage", flexLogo8);
                   luntan.setStyle("backgroundImage", flexLogo8);
                   liuyan.setStyle("backgroundImage", flexLogo8);
                   BJCK.setStyle("backgroundImage", flexLogo8);
                   oox.setStyle("backgroundImage", flexLogo8);
                   gyu.setStyle("backgroundImage", flexLogo8);
                   HFHF.setStyle("backgroundImage", flexLogo8);
                   dq_2.setStyle("backgroundImage", flexLogo8);
                   ui3.setStyle("backgroundImage", flexLogo8);
                   pp.setStyle("backgroundImage", flexLogo8);
                   pl.setStyle("backgroundImage", flexLogo8);
                   opre.setStyle("backgroundImage", flexLogo8);
                   tdd.setStyle("backgroundImage", flexLogo8);
                   shili.setStyle("backgroundImage", flexLogo8);
                   oi.setStyle("backgroundImage", flexLogo8);
                   tt1.setStyle("backgroundImage", flexLogo8);
                   xi.setStyle("backgroundImage", flexLogo8);
                   canvas.setStyle("backgroundImage", flexLogo8);
                   tjdck.setStyle("backgroundImage", flexLogo8);
                   tcgx.setStyle("backgroundImage", flexLogo8);
                   dj.setStyle("backgroundImage", flexLogo8);
                   Pan.setStyle("backgroundImage", flexLogo8);
              }
              if (event.item.@data == "4b-9")      //p9
              {
                   can0.setStyle("backgroundImage", flexLogo9);
                   pf4.setStyle("backgroundImage", flexLogo9);
                   pf_4.setStyle("backgroundImage", flexLogo9);
                   can.setStyle("backgroundImage", flexLogo9);
                   can1.setStyle("backgroundImage", flexLogo9);
                   AA1.setStyle("backgroundImage", flexLogo9);
                   AA2.setStyle("backgroundImage", flexLogo9);
                   AA3.setStyle("backgroundImage", flexLogo9);
                   luntan.setStyle("backgroundImage", flexLogo9);
                   liuyan.setStyle("backgroundImage", flexLogo9);
                   BJCK.setStyle("backgroundImage", flexLogo9);
                   oox.setStyle("backgroundImage", flexLogo9);
                   gyu.setStyle("backgroundImage", flexLogo9);
                   HFHF.setStyle("backgroundImage", flexLogo9);
                   dq_2.setStyle("backgroundImage", flexLogo9);
                   ui3.setStyle("backgroundImage", flexLogo9);
                   pp.setStyle("backgroundImage", flexLogo9);
                   pl.setStyle("backgroundImage", flexLogo9);
                   opre.setStyle("backgroundImage", flexLogo9);
                   tdd.setStyle("backgroundImage", flexLogo9);
                   shili.setStyle("backgroundImage", flexLogo9);
                   oi.setStyle("backgroundImage", flexLogo9);
                   tt1.setStyle("backgroundImage", flexLogo9);
                   xi.setStyle("backgroundImage", flexLogo9);
                   canvas.setStyle("backgroundImage", flexLogo9);
                   tjdck.setStyle("backgroundImage", flexLogo9);
                   tcgx.setStyle("backgroundImage", flexLogo9);
                   dj.setStyle("backgroundImage", flexLogo9);
                   Pan.setStyle("backgroundImage", flexLogo9);
              }
              if (event.item.@data == "4b-10")      
              {
                  HFHF.visible=true;
              }
              if (event.item.@data == "5I-1")      //获取点
              {
                    opre.visible=true;
              }
              if (event.item.@data == "5I-2")      //获取线
              {
                    pl.visible=true;
              }
              if (event.item.@data == "5I-3")      //获取矩形
              {
                    pp.visible=true;
              }
              if (event.item.@data == "5I-4")      //获取圆
              {
                    ui3.visible=true;
              }
              if (event.item.@data == "5I-5")      //获取多边形
              {
                    dq_2.visible=true;
              }
              if (event.item.@data == "5G")      //获取图层信息
              {
                 var layerCount:int=this.mapdoc.loadMapResult.LayerCount;
                 var layers:Array=new Array();
                 for(var l:int=0;l<layerCount;l++)
                 {
                   layers[l]=this.mapdoc.getLayerInfo(l).LayerDataName;
                 }
                 Alert.show("您获得的图层:"+layers.join(","));
              }
              if (event.item.@data == "5J")      //获取MapGIS数据源列表
              {
                 if(spatialObj==null)
                     spatialObj=new SpacialAnalyse(mapdoc);
                 spatialObj.getGdbServerList(onGetData);
              }
              if (event.item.@data == "5K")      //获取MapGIS数据源中的数据库列表
              {
                 if(spatialObj==null)
                     spatialObj=new SpacialAnalyse(mapdoc);
                 var obj:CGetGdbList=new CGetGdbList();
                 obj.GdbSvrName="MapGisLocal";
                 obj.GdbSvrUser="zzk";
                 obj.GdbSvrPwds="111";
                 spatialObj.getGdbList(obj,onGetData1);
              }
              if (event.item.@data == "5L")      //获取MapGIS数据库中的图层列表
              {
                 if(spatialObj==null)
                     spatialObj=new SpacialAnalyse(mapdoc);
                 var obj1:CGetXClsList=new CGetXClsList();
                 obj1.GdbSvrName="MapGisLocal";
                 obj1.GdbName="shiliang02";
                 obj1.XclsType=EXClsType.SFeatureCls;
                 obj1.GdbSvrUser="zzk";
                 obj1.GdbSvrPwds="111";
                 spatialObj.getXClsList(obj1,onGetData2);
              }
              if (event.item.@data == "5J-1")  //图层索引
              {
                 kk1.enabled=true;
                 kk2.enabled=true;
                 kk3.enabled=true;
              }
              if (event.item.@data == "5H-1")
              {
                  this.mapdoc.getMapLayerInfo(9).LayerStatus=EnumLayerStatus.Selectable;
                   this.mapdoc.updateAllLayerInfo();
                   this.map.setCurOper(IMSOperType.SelectByHitting);
                   this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick_00);
              }
              if (event.item.@data == "top9-3")
              {
                 gyu.visible=true;
              }
              if (event.item.@data == "top8-1")
              {
                 oox.visible=true;
              }
              if (event.item.@data == "top7-1")
              {
                 luntan.visible=true;
              }
              if (event.item.@data == "4C-1-1")
              {
                  editCtrl.visible=true;
                  hyt.enabled=true;
                  hyt1.enabled=true;
                  hyt2.enabled=true;
                  hyt3.enabled=true;
                  hyt4.enabled=true;
              }
              if (event.item.@data != "4C-1-1")
              {
                  
                  hyt1.enabled=false;
                  hyt2.enabled=false;
                  hyt3.enabled=false;
                  hyt4.enabled=false;
                  
              }
              if (event.item.@data == "4C-1-2")
              {
                  hyt.enabled=true;
                  hyt5.enabled=true;
              }
              if (event.item.@data != "4C-1-2")
              {
                  
                  hyt5.enabled=false;
              }
             
        } 
        
        
        /**
     * 查询图层选择
        */
        public var cards:ArrayCollection = new ArrayCollection(
                    [ {label:"请选择图层"},
                      {label:"首都",number:"0"}, 
                      {label:"国界线",number:"1"}, 
                      {label:"海基线",number:"2"}, 
                      {label:"浅海",number:"3"}, 
                      {label:"中海",number:"4"}, 
                      {label:"深海",number:"5"},
                      {label:"岛屿",number:"6"}, 
                      {label:"菲律宾",number:"7"}, 
                      {label:"群岛",number:"8"},
                      {label:"中国沿海省份",number:"9"},
                      {label:"文莱",number:"10"},
                      {label:"越南",number:"11"},
                      {label:"专属经济区",number:"12"}]);
         private function closeHandler(event:Event):void 
         {
               
                a =  mx.controls.ComboBox(event.target).selectedItem.number;
                c =  mx.controls.ComboBox(event.target).selectedItem.number;
                
         }  
         private function closeHandler3(event:Event):void 
         {
               
                a1=  mx.controls.ComboBox(event.target).selectedItem.number;
               
         }  
         private function closeHandler2(event:Event):void 
         {
            if(i<=xz.value)
            {
                     d =  mx.controls.ComboBox(event.target).selectedItem.number;
                     if(kj.selected==true)
                     {
                          this.mapdoc.getMapLayerInfo(d).LayerStatus=EnumLayerStatus.Visiable;
                          this.mapdoc.updateAllLayerInfo();
                     }
                     if(bkj.selected==true)
                     {
                        this.mapdoc.getMapLayerInfo(d).LayerStatus=EnumLayerStatus.Invisiable;
                          this.mapdoc.updateAllLayerInfo();
                     }
              }
              i++;
              if(i>xz.value)
              {
                  Alert.show("您设置的更新图层个数为"+xz.value+"当前操作超出了预先设置,为无效操作,提示:点击确认后重新设置更新图层个数");
              }
         }
         
        /**
     * 属性字段选择
        */
         public var cards1:ArrayCollection = new ArrayCollection(
                    [ {label:"请选择属性字段"},
                      {label:"序号",number:"0"}, 
                      {label:"OID",number:"1"}, 
                      {label:"Id",number:"2"}, 
                      {label:"长度",number:"3"}, 
                      {label:"面积",number:"4"}, 
                      {label:"country",number:"5"},
                      {label:"island_man",number:"6"}, 
                      {label:"name",number:"7"}, 
                      {label:"名字",number:"8"},
                      {label:"国家经济区",number:"9"},
                      {label:"island_nam",number:"10"}]);
         private function closeHandler1(event:Event):void 
         {
               
               b=  mx.controls.ComboBox(event.target).selectedItem.label;
               textArea.text=b;
         }        
        /**
     * 画圆查询
        */
        public function init():void
        {
         
          this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEMOVE,onMouseMove);
          t = new Timer(TIMER_INTERVAL);    
             t.addEventListener(TimerEvent.TIMER, updateTimer);
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange);   //画圆几何查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange1);  //画点几何查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange2);  //画线几何查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange3);  //矩形几何查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange4);  //多边形几何查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange5);  //画点条件查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange6);  //画线条件查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange7);  //画圆条件查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange8);  //矩形条件查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange9);  //多边形条件查询
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange10); //圆裁剪分析
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange11); //多边形裁剪分析
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange12);//缓冲区分析
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange13);//绘点
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange14);//绘线
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange15);//绘圆
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange16);//绘矩形
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange17);//绘多边形
             this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick_1);//单击获取鼠标的位置
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange18);//绘多边形
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange19);//要素编辑
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange20);//要素编辑
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange21);//要素编辑
             this.map.addEventListener(IMSMapEvent.MAP_OPERTYPECHANGE,onOperChange22);//要素编辑
            
        }
        public function onOperChange(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack);
        }
        
        public function mouseCallBack(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.Geometry=this.map.graphicCanvas.getSelectedCircle();
        if(obj.Geometry==null)
        return;
        obj.GeomType=EWebGeomType.Line;
        obj.NearDistance=0.0001;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack);

        }
        public function callBack(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     * 画点查询
        */
        public function onOperChange1(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick);
        }
        public function onMouseClick(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.GeomType=EWebGeomType.Point;
        obj.Geometry=this.map.graphicCanvas.getSelectedDot();
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack1);
        }
        public function callBack1(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        
        
        /**
     * 画线查询
        */
        public function onOperChange2(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack1);
        }
        public function mouseCallBack1(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.Geometry=this.map.graphicCanvas.getSelectedLine();
        if(obj.Geometry==null)
        return;
        obj.GeomType=EWebGeomType.Line;
        obj.NearDistance=0.0001;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack2);
        }
        public function callBack2(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *矩形查询
        */
        public function onOperChange3(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack2);
        }
        public function mouseCallBack2(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.Geometry=this.map.graphicCanvas.getSelectedRect();
        if(obj.Geometry==null)
        return;
        obj.GeomType=EWebGeomType.Rect;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack3);
        }
        public function callBack3(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *多边形查询
        */
        public function onOperChange4(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack3);
        }
        public function mouseCallBack3(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.Geometry=this.map.graphicCanvas.getSelectedPolygon();
        if(obj.Geometry==null)
        return;
        obj.GeomType=EWebGeomType.Polygon;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack4);
        }
        public function callBack4(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     * 条件查询
        */
        public function callBack5(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        public function onClick():void
        {
        if(this.mapdoc.getMapLayerInfo(a).LayerStatus!=EnumLayerStatus.Selectable)
        {
        this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Selectable;
        this.mapdoc.updateAllLayerInfo();
        Alert.show("图层状态设置成功,");
        }
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Condition;
        obj.WhereClause=textArea.text;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param, callBack5);
        }
        /**
     * 画点条件查询
        */
        public function onOperChange5(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick4);
        }
        public function onMouseClick4(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Both;
        obj.WhereClause=textArea.text;
        obj.GeomType=EWebGeomType.Point;
        obj.Geometry=this.map.graphicCanvas.getSelectedDot();
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack6);
        }
        public function callBack6(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        
        
        /**
     *画线条件查询
        */
        public function onOperChange6(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack4);
        }
        public function mouseCallBack4(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Both;
        obj.Geometry=this.map.graphicCanvas.getSelectedLine();
        if(obj.Geometry==null)
        return;
        obj.GeomType=EWebGeomType.Line;
        obj.NearDistance=0.0001;
        obj.WhereClause=textArea.text;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack7);
        }
        public function callBack7(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *画圆条件查询
        */
        public function onOperChange7(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack5);
        }
        public function mouseCallBack5(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Both;
        obj.Geometry=this.map.graphicCanvas.getSelectedCircle();
        if(obj.Geometry==null)
        return;
        obj.WhereClause=textArea.text;
        obj.GeomType=EWebGeomType.Circle;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack8);
        }
        public function callBack8(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *矩形条件查询
        */
        public function onOperChange8(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,mouseCallBack6);
        }
        public function mouseCallBack6(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Both;
        obj.Geometry=this.map.graphicCanvas.getSelectedRect();
        if(obj.Geometry==null)
        return;
        obj.WhereClause=textArea.text;
        obj.GeomType=EWebGeomType.Rect;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack9);
        }
        public function callBack9(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *多边形条件查询
        */
        public function onOperChange9(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack7);
        }
        public function mouseCallBack7(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.Both;
        obj.Geometry=this.map.graphicCanvas.getSelectedPolygon();
        if(obj.Geometry==null)
        return;
        obj.WhereClause=textArea.text;
        obj.GeomType=EWebGeomType.Polygon;
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack10);
        }
        public function callBack10(e:Event):void
        {
        this.map.activeMapDoc=this.mapdoc;
        dataViewer.showResult(this.mapdoc.onSelect(e));
        }
        /**
     *圆裁剪分析
        */
        public function onOperChange10(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,this.clip.clipDocByCircle);
        }
        /**
     *多边形裁剪分析
        */
        public function onOperChange11(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.clip.clipDocByPolygon);
        }
        
        /**
     *缓冲区分析
        */
        public function onOperChange12(e:Event):void
        {
        this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick12);
        }
        public function onMouseClick12(e:Event):void
        {
        var obj:CWebSelectParam=new CWebSelectParam();
        obj.SelectionType=ESelectionType.SpatialRange;
        obj.GeomType=EWebGeomType.Point;
        obj.Geometry=this.map.graphicCanvas.getSelectedDot();
        var param:CMapSelectParam=new CMapSelectParam();
        param.SelectParam=obj;
        this.mapdoc.select(param,callBack14);
        }
        public function callBack14(e:Event):void
        {
              this.map.activeMapDoc=this.mapdoc;
              this.map.activeMapDoc.activeLayerIndex=c;
              var result:CMapSelectAndGetAtt=this.mapdoc.onSelect(e);
              if(result==null||result.Count[0][1]==0)
              {
     
                 Alert.show("未查到要素,请重新点击查询");
                 return;
              }
              
              Alert.show("已查询到目的要素,现在可以点击缓冲区分析控件中的提交按钮进行缓冲区分析!");
              var targetObj:CGetObjByID=new CGetObjByID();
              targetObj.FeatureID=(((result.AttDS[0] as CAttDataSet).attTables[1] as CAttDataTable).Rows[0] as CAttDataRow).FID;
              targetObj.LayerIndex=c;
              this.bufferCtrl.setTargetFeature(targetObj);
              this.bufferCtrl.visible=true;
        }
        /**
     *绘点
        */
        public function onOperChange13(e:Event):void
     {
           this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,drawPoint);
     }
     public function drawPoint(e:Event):void
     {
        var center:Dot_2D=this.map.graphicCanvas.getSelectedDot();
        var pnt:IMSPoint=new IMSPoint();
        pnt.logicX=center.x;
        pnt.logicY=center.y;
        this.map.addChild(pnt);
     }
       
     public function delDot():void
     {
        for(var i:int=5;i<this.map.numChildren;i++)
        {
        trace(this.map.getChildren());
        this.map.removeChildAt(i);
        i--;
        }
     }
     /**
     *绘线
        */
        public function onOperChange14(e:Event):void
     {
           this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,draw);
     }
     public function draw(e:Event):void
     {
      var dots:Array=this.map.graphicCanvas.getSelectedLogicDotsArr();
      var line:IMSRoad=new IMSRoad();
      line.setDots(dots);
      this.map.addChild(line);
     }
     /**
     *绘圆
        */
        public function onOperChange15(e:Event):void
     {
           this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,drawPoint1);
     }
     public function drawPoint1(e:Event):void
     {
      var circle:Circle=this.map.graphicCanvas.getSelectedCircle();
      var pnt:IMSPoint=new IMSPoint();
      pnt.logicX=circle.Center.x;
      pnt.logicY=circle.Center.y;
      pnt.radius=circle.Radius;
      pnt.enableUpadateRadius=true;
      this.map.addChild(pnt);
     }
     /**
     *绘矩形
        */
        public function onOperChange16(e:Event):void
     {
           this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,draw1);
     }
     public function draw1(e:Event):void
     {
      var selRect:Rect=this.map.graphicCanvas.getSelectedRect();
      var rect:IMSRoad=new IMSRoad();
      rect.enableFill=true;
      rect.setDotsFromRect(selRect);
      this.map.addChild(rect);
     }
     /**
     *绘多边形
        */
        public function onOperChange17(e:Event):void
     {
           this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,draw2);
     }
     public function draw2(e:Event):void
     {
        var dots:Array=this.map.graphicCanvas.getSelectedLogicDotsArr();
        var reg:IMSRoad=new IMSRoad;
        reg.setDots(dots);
        reg.enableFill=true;
        this.map.addChild(reg);
     }
     /**
     *添加点
        */
        public function xyy():void
        {
         s++;
         if(s<=zzw.value+1)
         {
            var pnt:IMSPoint=new IMSPoint();
            pnt.logicX=(int(za1.text));
            pnt.logicY=(int(za2.text));
            this.map.addChild(pnt);
            za1.text="";
            za2.text="";
            zx.text="第"+s+"个点:";
         }
         if(s>zzw.value+1)
         {
          Alert.show("添加的点的个数超出了设置范围,提示:请点击确认添加按钮后重新设置添加点的个数范围。");
         }
        }
        public function qrtj():void
        {
           s=1;
           tjdck.visible=false;
        }
        /**
     *添加线
        */
        public function xian():void
        {
           var dots:Array=new Array();
           dots[0]=new Point(int(x1.text),int(y1.text));
           dots[1]=new Point(int(x2.text),int(y2.text));
           dots[2]=new Point(int(x3.text),int(y3.text));
           dots[3]=new Point(int(x4.text),int(y4.text));
           var line:IMSRoad=new IMSRoad();
           line.setDots(dots);
           this.map.addChild(line);
        } 
        /**
     *添加标注点
        */
        public function que():void
        {
           var marker:Marker=new Marker();
           marker.logicX=(int(xx.text));
           marker.logicY=(int(yy.text));
           marker.setIconSrc(zz.text);
           this.map.addChild(marker);
        }
        /**
     *计时区
        */
        private function updateTimer(evt:TimerEvent):void 
        {    
              var d:Date = new Date(getTimer() - baseTimer);    
              var min:String = (MIN_MASK + d.minutes).substr(-MIN_MASK.length);    
              var sec:String = (SEC_MASK + d.seconds).substr(-SEC_MASK.length);    
              var ms:String = (MS_MASK + d.milliseconds).substr(-MS_MASK.length);    
              counter.text = String(min + ":" + sec + "." + ms);    
        }    
      
        private function startTimer():void 
        {    
              baseTimer = getTimer();    
              t.start();    
        }    
      
        private function stopTimer():void 
        {    
              t.stop();    
              mylabel.text=counter.text;
        }  
        /**
     *温馨提示
        */
        <mx:Panel id="canvas" width="258" height="230" layout="absolute" visible="false" title="温馨提示" fontSize="16" textDecoration="normal" enabled="true" horizontalScrollPolicy="off" includeInLayout="false" verticalScrollPolicy="off">
            <mx:Label x="1" y="0" text="尊贵的夏雪飞用户:您一共在系统中停留了" fontSize="12" height="20"/>
            <mx:Label id="mylabel" x="64.5" y="37" text="Label" fontSize="20" fontWeight="bold" textDecoration="underline"/>
            <mx:Label x="2" y="86" text="感谢您对本系统的支持,欢迎下次使用" fontSize="13"/>
            <mx:Button x="40" y="123" label="返回" fontSize="12" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#88D053, #88D053]" click="canvas.visible=false,startTimer()"/>
            <mx:Button x="141" y="122" label="退出" fontSize="12" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#88D053, #88D053]"/>
        </mx:Panel>
        /**
     *放大
        */
        public function zoomIn():void
        {
         this.map.setCurOper(IMSOperType.ZoomIn);
        }
        /**
     *缩小
        */
        public function zoomOut():void
        {
         this.map.setCurOper(IMSOperType.ZoomOut);
        }
        /**
     *移动
        */
        public function pan():void
        {
         this.map.setCurOper(IMSOperType.Drag);
        }
        /**
     *更新
        */
        public function gengxin():void
        {
         this.map.setCurOper(IMSOperType.Refresh);
        }
        /**
     *复位
        */
        public function fuwei():void
        {
         this.map.setCurOper(IMSOperType.Restore);
        }
        /**
     *鹰眼
        */
        public function switchEagle():void
        {
         this.eagle.switchEagleEye();
        }
        /**
     *多级显示事件
        */
        public function djxs():void                 //error   error   error   error   error   error   error
        {
         this.eagle1.switchEagleEye();
         this.eagle2.switchEagleEye();
         this.eagle3.switchEagleEye();
         this.eagle4.switchEagleEye();
         this.map.setLevel(ns1.value);
         eagle2.initShowLevel=ns2.value;
         eagle3.initShowLevel=ns3.value;
         eagle4.initShowLevel=ns4.value;
         eagle1.visible=true;
         eagle2.visible=true;
         eagle3.visible=true;
         eagle4.visible=true;
        }                                           //error   error   error   error   error   error   error
        /**
     *放大镜  导航条
        */
        private function setVisibility(obj:Object):void
        {
         if(!isNull(obj))
         {
          UIComponent(obj).visible=!UIComponent(obj).visible;
         }
        }
        public function isNull(obj:Object,showMsg:Boolean=true):Boolean
        {
         if(obj==null&&showMsg)
         
         Alert.show("未找到相应的控件,可能原因是未创建相应的控件","提示");
         return obj==null?true:false;
         
        }
        /**
     *图层更新
        */
        public function bkj1():void
        {
            this.map.setCurOper(IMSOperType.Refresh);
            i=0;
        }
        /**
     *鼠标在地图上的位置
        */
        public function onMouseMove(e:Event):void
        {
          this.ps1.text="X:"+this.map.mouseMoveLogicPnt.x;
          this.ps2.text="Y:"+this.map.mouseMoveLogicPnt.y;
          this.ps3.text="X:"+this.map.mouseMoveScrPnt.x;
          this.ps03.text="Y:"+this.map.mouseMoveScrPnt.y;
        }
        /**
     *坐标转换
        */
        public function zhuan():void
        {
         if(lj.selected==true)
         {
          var scrPnt:Point=this.map.logicToScreen(int(xxx.text),int(yyy.text));
          ds.text="("+scrPnt.x+","+scrPnt.y+")";
         }
         if(ck.selected==true)
         {
          var pnt:Point=this.map.screenToLogic(int(xxx.text),int(yyy.text));
          ds.text="("+pnt.x+","+pnt.y+")";
         }
        }
        public function djJ():void
        {
         var mark1:Marker=new Marker();
         mark1.logicX=int(q0.text);
         mark1.logicY=int(q_1.text);
         if(q1.selected == true)
         {
          mark1.setIconSrc("image/example/p1.gif");
         }
         if(q2.selected == true)
         {
          mark1.setIconSrc("image/mark/p1.gif");
         }
         if(q3.selected == true)
         {
          mark1.setIconSrc("image/example/p7.gif");
         }
         if(q4.selected == true)
         {
          mark1.setIconSrc("image/example/p4.gif");
         }
         if(q5.selected == true)
         {
          mark1.setIconSrc("image/example/p5.gif");
         }
         if(q6.selected == true)
         {
          mark1.setIconSrc("image/example/p6.gif");
         }
         if(q7.selected == true)
         {
          mark1.setIconSrc("image/example/p9.gif");
         }
         if(q8.selected == true)
         {
          mark1.setIconSrc("image/example/p10.gif");
         }
         if(q9.selected == true)
         {
          mark1.setIconSrc("image/example/p11.gif");
         }
         if(q10.selected == true)
         {
          mark1.setIconSrc("image/example/p12.gif");
         }
         if(q11.selected == true)
         {
          mark1.setIconSrc("image/example/p13.gif");
         }
         if(q12.selected == true)
         {
          mark1.setIconSrc("image/example/p14.gif");
         }
         if(q13.selected == true)
         {
          mark1.setIconSrc("image/example/p15.gif");
         }
         if(q14.selected == true)
         {
          mark1.setIconSrc("image/example/p16.gif");
         }
         if(q15.selected == true)
         {
          mark1.setIconSrc("image/example/p17.gif");
         }
         if(q16.selected == true)
         {
          mark1.setIconSrc("image/example/p18.gif");
         }
         if(q17.selected == true)
         {
          mark1.setIconSrc("image/example/p19.gif");
         }
         if(q44.text!="")
         {
          mark1.setIconSrc(q44.text);
         }
         this.map.addChild(mark1);
         
        }
        public function onChange(e:Event):void//监听获取点
        {
         if(e.target.selected)
         {
          this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick_1);
         }
         else
         {
          opre.visible=false;
          this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick_1);
         }
        }
        /**
        *鼠标单击获取位置信息
        */
        public function onMouseClick_1(e:Event):void
        {
         q0.text=String(this.map.mouseDownLogicPnt.x);
         q_1.text=String(this.map.mouseDownLogicPnt.y);
         op.text=String("["+this.map.mouseDownScrPnt.x+","+this.map.mouseDownScrPnt.y+"]");
         opre.x=this.map.mouseDownScrPnt.x;
         opre.y=this.map.mouseDownScrPnt.y;
        }
        /**
        *获取线段信息
        */
        public function callBack_1(e:Event):void
        {
         var dots:Array=this.map.graphicCanvas.getSelectedLogicDotsArr();
         this.lo.text=dots.join(",");
         
        }
        public function onChange1(e:Event):void
        {
         if(e.target.selected)
         {
          this.map.setCurOper(IMSOperType.SelectByLine);
                this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,callBack_1);//单击获取线段信息
         }
         else
         {
          this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,callBack_1);
          pl.visible=false;
         }
         
        }
        /**
        *获取矩形信息
        */
        public function onChange2(e:Event):void
        {
         if(e.target.selected)
         {
          this.map.setCurOper(IMSOperType.SelectByRect);
          this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,callBack_3);
         }
         else
         {
          pp.visible=false;
          this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,callBack_3);
         }
        }
        public function callBack_3(e:Event):void
        {
         var rect:Rect=this.map.graphicCanvas.getSelectedRect();
         this.lp.text="xmin="+rect.xmin+",ymin="+rect.ymin+",xmax="+rect.xmax+",ymax="+rect.ymax;
         
        }
        /**
        *获取圆
        */ 
        public function onChange3(e:Event):void
        {
         if(e.target.selected)
         {
             this.map.setCurOper(IMSOperType.SelectByCircle);
             this.map.addEventListener(IMSMapMouseEvent.MAP_MOUSEUP,callBack_4); 
         }
         else
         {
          ui3.visible=false;
          this.map.removeEventListener(IMSMapMouseEvent.MAP_MOUSEUP,callBack_4); 
         }
        }
        public function callBack_4(e:Event):void
        {
         var obj:Circle=this.map.graphicCanvas.getSelectedCircle();
         this.ui1.text="("+obj.Center.x+","+obj.Center.y+")";
         this.ui2.text=String(obj.Radius);
         
        }
        /**
        *获取多边形
        */ 
        public function onChange4(e:Event):void
        {
         if(e.target.selected)
         {
             this.map.setCurOper(IMSOperType.SelectByPolygon);
             this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,callBack_5); 
         }
         else
         {
          dq_2.visible=false;
          this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,callBack_5); 
         }
        }
        public function callBack_5(e:Event):void
        {
         var obj:Polygon=this.map.graphicCanvas.getSelectedPolygon();
         var coor:String;
         for(var g:int=0;g<obj.Dots.length;g++)
         {
          coor+="(x="+obj.Dots[g].x+",y="+obj.Dots[g].y+")";
         }
         this.dq_1.text=coor;
        }
        /**
        *鼠标清空
        */
        public function qizh():void
        {
         this.map.setCurOper(IMSOperType.None);
        }
        /**
        *获取MapGIS数据源列表
        */
        public function onGetData(e:Event):void
        {
         this.datalist.text=spatialObj.onGetGdbList(e).Name.join(",");
        }
        /**
        *获取MapGIS数据源中的数据库列表
        */
        public function onGetData1(e:Event):void
        {
         this.datalist1.text=spatialObj.onGetGdbList(e).Name.join(",");
        }
        /**
        *获取MapGIS数据库中的图层列表
        */
        public function onGetData2(e:Event):void
        {
         this.datalist2.text=spatialObj.onGetXClsList(e).Name.join(",");
        }
        /**
        *图层索引
        */
        public function tcsy():void
        {
         this.kk2.text=this.mapdoc.getLayerInfo(kk1.value).LayerDataName;
        }
        /**
        *获取要素图形参数
        */
        public function onOperChange18(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,onMouseClick_00);
        }
        public function onMouseClick_00(e:Event):void
        {
            var obj:CWebSelectParam=new CWebSelectParam();
            obj.SelectionType=ESelectionType.SpatialRange;
            obj.GeomType=EWebGeomType.Point;
            obj.Geometry=this.map.graphicCanvas.getSelectedDot();
            var param:CMapSelectParam=new CMapSelectParam();
            param.SelectParam=obj;
            this.mapdoc.select(param,callBack_00);
        }
        public function callBack_00(e:Event):void
        {
            this.map.activeMapDoc=this.mapdoc;
            this.map.activeMapDoc.activeLayerIndex=1;
            var result:CMapSelectAndGetAtt=this.mapdoc.onSelect(e);
            if(result==null||result.Count[0][1]==0)
            {
                 Alert.show("未查到要素,请重新点击查询");
                 return;
            }
            var targetObj:CGetObjByID=new CGetObjByID();
            targetObj.FeatureID=(((result.AttDS[0] as CAttDataSet).attTables[1] as CAttDataTable).Rows[0] as CAttDataRow).FID;
            targetObj.LayerIndex=1;
            this.mapdoc.getFeatureStyleInfo(targetObj,onGetFeature);
        }
        public function onGetFeature(e:Event):void
        {
           var obj:WebGraphicsInfo=this.mapdoc.onGetFeatureStyleInfo(e);
           Alert.show("选中的区要素的填充颜色值="+obj.RegInfo.FillColor);
        }
        /**
        *论坛
        */
        
        public function fabiao():void
        {
         
         m3_1++;
         for(nn1=0;nn1<=100;nn1++)
         {
           nn2=2*nn1+1;
           nn3=2*nn1;
           if(m3_1==nn2)
           {
             m1_1++;
             m3.text=m1.text+":";JL1[m3_1]=m3.text;//1
             m4.text=m2.text;JL2[m3_1]=m4.text;
             m5.text="";
             m6.text="";
           }
           if(m3_1==nn3)
           {
          m5.text=m1.text+":";JL1[m3_1]=m5.text;//2
          m6.text=m2.text;JL2[m3_1]=m6.text;
           }
         }
         m7.text=String(m1_1);
         m2.text="";
         
        }
        public function syy():void
        {
         
         if(m1_1>1)
         {
           m1_1--;
           m7.text=String(m1_1);
           m3.text=JL1[2*m1_1-1];
           m4.text=JL2[2*m1_1-1];
           m5.text=JL1[2*m1_1];
           m6.text=JL2[2*m1_1];
         }
        }
        public function xyy1():void
        {
         m1_1++;
         m7.text=String(m1_1);
         m3.text=JL1[2*m1_1-1];
         m4.text=JL2[2*m1_1-1];
         m5.text=JL1[2*m1_1];
         m6.text=JL2[2*m1_1];
        }
        public function denglu():void
        {
         liuyan.visible=true;
        }
        public function GLY():void
        {
         wasd1.enabled=true;
         wasd2.enabled=true;
        }
        public function KSG():void
        {
         if(wasd1.text=="zzk"&&wasd2.text==String(1111))
         {
          dps1.enabled=true;
          dps2.enabled=true;
          dps3.enabled=true;
          dps4.enabled=true;
          dps5.enabled=true;
          dps6.enabled=true;
         }
        }
        public function DPS3():void
        {
         JJ1++;
         m4.text="此人言论已被管理员删除!!!";
         jj1[JJ1]=int(m7.text);
         JL2[2*jj1[JJ1]-1]="此人言论已被管理员删除!!!";
        }
        public function DPS6():void
        {
         JJ2++;
         m6.text="此人言论已被管理员删除!!!";
         jj2[JJ2]=int(m7.text);
         JL2[2*jj2[JJ2]]="此人言论已被管理员删除!!!";
        }
        public function DPS2():void
        {
         BJCK.visible=true;
         JJ3++;
         fgh=0;
         
        }
        public function DPS5():void
        {
         BJCK.visible=true;
         JJ4++;
         fgh=1;
        }
        public function DPS7():void
        {
         if(fgh==0)
         {
          m4.text=dps7.text;
             jj3[JJ3]=int(m7.text);
             JL2[2*jj3[JJ3]-1]=dps7.text;
         }
         if(fgh==1)
         {
          m6.text=dps7.text;
          jj4[JJ4]=int(m7.text);
          JL2[2*jj4[JJ4]]=dps7.text;
         }
            BJCK.visible=false;
        }
        public function DPS1():void
        {
           JL1[2]=JL1[1];
           JL2[2]=JL2[1];
           JL3[1]=JL1[2*int(m7.text)-1];
           JL3[2]=JL2[2*int(m7.text)-1];
        }
        public function DPS4():void
        {
         JL1[1]=JL1[2*int(m7.text)];
         JL2[1]=JL2[2*int(m7.text)];
        }
        /**
        *要素编辑
        */
        public function onOperChange19(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.editCtrl.addPolygon);
        }
        public function onOperChange20(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.editCtrl.addLine);
        }
        public function onOperChange21(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_CLICK,this.editCtrl.addPoint);
        }
        
        public function TJQYS():void
        {
         if(hyt1.selected==true)
         {
          this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Editable;
             this.map.activeMapDoc=this.mapdoc;
             this.mapdoc.activeLayerIndex=a;
             this.mapdoc.updateAllLayerInfo();
             this.map.setCurOper(IMSOperType.SelectByHitting);
             this.map.addEventListener(IMSMapMouseEvent.MAP_CLICK,this.editCtrl.addPoint);
         }
         if(hyt2.selected==true)
         {
          this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Editable;
             this.map.activeMapDoc=this.mapdoc;
             this.mapdoc.activeLayerIndex=a;
             this.mapdoc.updateAllLayerInfo();
             this.map.setCurOper(IMSOperType.SelectByLine);
             this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.editCtrl.addLine);
         }
         if(hyt3.selected==true)
         {
             this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Editable;
             this.map.activeMapDoc=this.mapdoc;
             this.mapdoc.activeLayerIndex=a;
             this.mapdoc.updateAllLayerInfo();
             this.map.setCurOper(IMSOperType.SelectByPolygon);
             this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,this.editCtrl.addPolygon);
         }
        }
        
        public function onOperChange22(e:Event):void
        {
         this.map.removeEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack_90);
        }
        public function mouseCallBack_90(e:Event):void
        {
         var obj:CWebSelectParam=new CWebSelectParam();
         obj.SelectionType=ESelectionType.Both;
         obj.Geometry=this.map.graphicCanvas.getSelectedPolygon();
         if(obj.Geometry==null)
         return;
         obj.WhereClause="";
         var param:CMapSelectParam=new CMapSelectParam();
         param.SelectParam=obj;
         this.mapdoc.select(param,callBack_90);
        }
        public function callBack_90(e:Event):void
        {
         this.map.activeMapDoc=this.mapdoc;
         this.map.activeMapDoc.activeLayerIndex=a;
         dataViewer.showResult(this.mapdoc.onSelect(e));
         Alert.show("右键菜单进行删除操作。");
        }
        public function SC():void
        {
         this.mapdoc.getMapLayerInfo(a).LayerStatus=EnumLayerStatus.Editable;
         this.mapdoc.updateAllLayerInfo();
         this.map.setCurOper(IMSOperType.SelectByPolygon);
         this.map.addEventListener(IMSMapMouseEvent.MAP_DOUBLECLICK,mouseCallBack_90);
        }
        public function op1():void
        {
         can1.visible=false;
         AA0.visible=false;
         map.width=1500;
        }
        public function op2():void
        {
         can1.visible=true;
         AA0.visible=true;
         map.width=808;
        }
        /**
        *添加标注
        */
        private function setMarker():void
        {   
            this.markEditor.setMarker();
        }
        /**
        *打印
        */
        public function op3():void
        {
         var myPrintJob:FlexPrintJob=new FlexPrintJob();
         myPrintJob.start();
         myPrintJob.addObject(map);
         myPrintJob.send();
        }
        /**
     *鼠标移上图标事件
     */ 
     public function onMarkMouseOver(e:MouseEvent):void
     {
      e.target.x+=2;e.target.width=35;
      e.target.y-=2;e.target.height=35;
     }
     /**
     *鼠标移出图标事件
     */ 
     public function onMarkMouseOut(e:MouseEvent):void
     {
      e.target.x-=2;e.target.width=25;
      e.target.y+=2;e.target.height=25;
     }
     /**
     *设置图标选中时的状态--变为半透明
     */ 
             public function change123_1():void
             {
              this.w1.alpha=0.5;this.w7.alpha=1;
              this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
        
       }
       public function change123_2():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=0.5;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_3():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=0.5;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_4():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=0.5;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_5():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=0.5;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_6():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=0.5;this.w12.alpha=1;
       }
       public function change123_7():void
       {
        this.w1.alpha=1;this.w7.alpha=0.5;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_8():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=0.5;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_9():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=0.5;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_10():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=0.5;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_11():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=0.5;
        this.w6.alpha=1;this.w12.alpha=1;
       }
       public function change123_12():void
       {
        this.w1.alpha=1;this.w7.alpha=1;
        this.w2.alpha=1;this.w8.alpha=1;
        this.w3.alpha=1;this.w9.alpha=1;
        this.w4.alpha=1;this.w10.alpha=1;
        this.w5.alpha=1;this.w11.alpha=1;
        this.w6.alpha=1;this.w12.alpha=0.5;
       }
        ]]>
        </mx:Script>
        <mx:Accordion x="0" y="74" width="200" height="523" fontSize="18" fontWeight="normal" fontStyle="normal" fontFamily="Verdana" borderStyle="solid" borderThickness="0" alpha="1.0">
         <mx:Canvas id="pf4" width="100%" height="100%" backgroundColor="{cp.selectedColor}" fontSize="14" backgroundImage="{a1}">
          <mx:Label x="10" y="10" text="选择查询图层:" color="#040100"/>
          <mx:ComboBox x="10" y="36" dataProvider="{cards}" close="closeHandler(event)" width="180" cornerRadius="0" fillAlphas="[1.0, 1.0, 1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF]" fontWeight="normal"/>
          <mx:ComboBox x="10" y="100" dataProvider="{cards1}" close="closeHandler1(event)" width="180" cornerRadius="0" fillAlphas="[1.0, 1.0, 1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF]" fontWeight="normal" id="zk" editable="false" enabled="false"/>
          <mx:Label x="10" y="71" text="选择属性字段:" color="#040100"/>
          <mx:Label x="10" y="136" text="输入查询条件:" color="#040100"/>
          <mx:Label x="10" y="317" text="图层索引:" color="#040100"/>
          <mx:Label x="76.5" y="317" text="获取第" color="#040100"/>
          <mx:Label x="68" y="348" text="个图层的名称:" color="#040100"/>
          <mx:NumericStepper x="10" y="346" width="50" id="kk1" enabled="false" maximum="12" stepSize="1" minimum="0"/>
          <mx:TextArea x="10" y="390" width="170" height="45" id="kk2" enabled="false"/>
          <mx:Button x="10" y="443" label="确认索引" fontSize="12" fontWeight="normal" width="75" click="tcsy()" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" enabled="false" id="kk3"/>
          <mx:Button x="93" y="443" label="确认查询" fontSize="12" fontWeight="normal" width="75" click="onClick()" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" enabled="false" id="kk0"/>
          <mx:TextArea x="10" y="167" height="144" text="例如:island_nam='黄岩岛'" id="textArea" width="180" enabled="false"/>
         </mx:Canvas>
         <mx:Canvas width="100%" height="100%" backgroundColor="{cp.selectedColor}" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" id="pf_4">
                      <mx:ComboBox x="22" y="43" dataProvider="{cards}" close="closeHandler(event)" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" cornerRadius="0" width="159" height="26" fontSize="14"></mx:ComboBox>
                      <mx:ComboBox x="22" y="144" dataProvider="{cards}" close="closeHandler(event)" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" cornerRadius="0" width="159" height="26" fontSize="14" id="hyt" enabled="false"></mx:ComboBox>
                      <mx:Label x="3" y="10" text="一:请选择分析图层:" fontSize="14"/>
                      <mx:Label x="22" y="113" text="1:请选择要素编辑图层:" fontSize="14"/>
                      <mx:Label x="22" y="181" text="2:请选择编辑类型:" fontSize="14"/>
                      <mx:Label x="3" y="82" text="二:要素编辑" fontSize="14"/>
                      <mx:CheckBox x="68" y="236" label="点要素" fontSize="13" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="hyt1" enabled="false" selected="false"/>
                      <mx:CheckBox x="68" y="303" label="面要素" fontSize="13" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="hyt3" enabled="false" selected="false"/>
                      <mx:CheckBox x="68" y="269" label="线要素" fontSize="13" fillAlphas="[1.0, 1.0]" fillColors="[#FFFFFF, #FFFFFF]" id="hyt2" enabled="false" selected="false"/>
                      <mx:Button x="140" y="304" label="添加" fontSize="12" fontWeight="normal" width="50" id="hyt4" enabled="false" click="TJQYS()"/>
                      <mx:Button x="140" y="372" label="确认" width="50" fontSize="12" fontWeight="normal" enabled="false" click="SC()" id="hyt5"/>
                      <mx:Label x="46" y="208" text="要素添加:" fontWeight="bold" fontSize="14"/>
                      <mx:Label x="46" y="337" text="要素修改与删除:" fontWeight="bold" fontSize="14"/>
         </mx:Canvas>
        </mx:Accordion>
        <mx:ApplicationControlBar x="-10" y="0" width="1287" fillAlphas="[1.0, 1.0]" fillColors="[#C78F65, #F4F3F3]" height="23" cornerRadius="0" fontWeight="bold">
         <mx:MenuBar id="pf1" labelField="@label" itemClick="menuHandler(event)" 
                dataProvider="{menuBarCollection}" width="1278" height="24" fontSize="12" fontWeight="normal" fillAlphas="[1.0, 1.0]" fillColors="[#C78F65, #FDFDFD]"/>
        </mx:ApplicationControlBar>
        <mx:ApplicationControlBar id="pf2" x="208" y="24" height="31" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#C78F65, #FDFDFC]" width="561">
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/toolbar/btn_01.png" toolTip="放大" click="zoomIn(),change123_1()" width="25" height="25" id="w1" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/toolbar/btn_02.png" toolTip="缩小" click="zoomOut(),change123_2()" width="25" height="25" id="w2" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/widget/btn_03.png" height="25" width="25" toolTip="移动" click="pan(),change123_3()" id="w3" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/widget/btn_05.png" toolTip="更新" click="gengxin(),change123_4()" width="25" height="25" id="w4" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="image/widget/btn_04.png" toolTip="复位" click="fuwei(),change123_5()" id="w5" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)" width="25" height="25"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/COST/放大镜图标.png" height="25" width="25" toolTip="放大镜" click="setVisibility(this.magnifier),change123_6()" id="w6" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/toolbar/tool_6.png" height="25" width="25" toolTip="鹰眼" click="switchEagle(),change123_7()" id="w7" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/mark/marker2/image2/p8.png" height="25" width="25" toolTip="添加标注" click="setMarker(),change123_8()" id="w8" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image height="25" width="25" toolTip="清空鼠标状态" source="imagemarkmarker2Lifesp3.png" click="qizh(),change123_9()" id="w9" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/COST/1.png" click="op1(),change123_10()" toolTip="隐藏查看面板" height="25" width="25" id="w10" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/COST/2.png" click="op2(),change123_11()" toolTip="显示查看面板" height="25" width="25" id="w11" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/COST/10.png" click="op3(),change123_12()" toolTip="打印" height="25" width="25" id="w12" mouseOver="onMarkMouseOver(event)" mouseOut="onMarkMouseOut(event)"/>
        </mx:ApplicationControlBar>
        <mx:ApplicationControlBar id="pf3" height="31" cornerRadius="0" fillAlphas="[1.0, 1.0]" fillColors="[#C78F65, #FDFDFC]" width="181" x="1096" y="24">
         <mx:Label id="counter" fontSize="14"  height="22" fontWeight="bold" textDecoration="underline"/>
         <mx:Image source="file:///D|/我的文档/12/MX/src/image/COST/表图标.png" width="35" height="31"/>
         
        </mx:ApplicationControlBar>
        <mx:Canvas id="can0" width="200" height="36" backgroundColor="{cp.selectedColor}" x="0" y="26" verticalScrollPolicy="off" mouseOver="move_pause()" mouseOut="move_resume()" fontSize="18">
         <mx:Label x="59" y="5" text="操作面板" textAlign="center" fontFamily="Courier New" fontWeight="bold"/>
        </mx:Canvas>
        <mx:Canvas id="can" width="318" height="31" backgroundColor="{cp.selectedColor}" x="774" y="24" verticalScrollPolicy="off" mouseOver="move_pause()" mouseOut="move_resume()">
         <mx:Image id="lbl1" x="44" y="3" height="28" width="234">
          <mx:source>file:///C|/Documents and Settings/Administrator/桌面/clip_image002.gif</mx:source>
         </mx:Image>
        </mx:Canvas>
        <mx:Canvas id="can1" width="253" height="36" backgroundColor="{cp.selectedColor}" x="1024" y="59" verticalScrollPolicy="off" mouseOver="move_pause()" mouseOut="move_resume()" fontSize="18">
         <mx:Label x="86" y="5" text="查看面板" textAlign="center" fontFamily="Courier New" fontWeight="bold"/>
        </mx:Canvas>
        <mx:TabNavigator x="1024" y="101" width="253" height="497" id="AA0">
         <mx:Canvas label="数据库查看" width="100%" height="100%" backgroundColor="{cp.selectedColor}" borderColor="#E8C69E" id="AA1">
          <mx:Label x="10" y="10" text="获取MapGIS数据源列表:"/>
          <mx:Label x="10" y="81" text="获取MapGIS数据源中的数据库列表:"/>
          <mx:Label x="10" y="186" text="获取MapGIS数据库中的图层列表:"/>
          <mx:TextArea x="10" y="38" width="231" height="29" id="datalist"/>
          <mx:TextArea x="10" y="109" width="231" height="63" id="datalist1"/>
          <mx:TextArea x="10" y="214" width="231" height="76" id="datalist2"/>
          <mx:Label x="10" y="311" text="鼠标在地图上的位置信息:" fontSize="15" fontWeight="bold"/>
          <mx:Label x="10" y="340" text="逻辑坐标:" fontSize="15" fontWeight="bold" width="85"/>
          <mx:Label x="10" y="402" text="窗口坐标:" fontSize="15" fontWeight="bold"/>
          
          <mx:Label x="81" y="343" width="160" id="ps1" fontWeight="bold"/>
          <mx:Label x="81" y="371" width="160" id="ps2" fontWeight="bold"/>
          <mx:Label x="81" y="405" width="160" id="ps3" fontWeight="bold"/>
          <mx:Label x="81" y="433" width="160" id="ps03" fontWeight="bold"/>
          <mx:Image x="24" y="364" source="file:///D|/我的文档/12/MX/src/image/COST/逻辑.png" width="40" height="37"/>
          <mx:Image x="26" y="424" source="file:///D|/我的文档/12/MX/src/image/COST/窗口.png" width="40" height="37"/>
         </mx:Canvas>
         <mx:Canvas label="数据目录查看" width="100%" height="100%" backgroundColor="{cp.selectedColor}" id="AA2">
          <ns2:IMSCatalog x="0" y="0" height="462" width="251" imsmap="{map}" backgroundColor="{cp.selectedColor}">
          </ns2:IMSCatalog>
         </mx:Canvas>
         <mx:Canvas label="123" width="100%" height="100%" backgroundColor="{cp.selectedColor}" id="AA3">
         </mx:Canvas>
        </mx:TabNavigator>
        
        
     
    </mx:Application>
  • 相关阅读:
    程序员之痛:几千行代码能搞定的为什么要写几万行?
    python基础===新式类与经典类
    python基础===装饰器@property 的扩展
    java===java基础学习(16)---final
    java===java基础学习(15)---抽象,接口
    python基础===继承和多继承
    python基础===类的私有属性(伪私有)
    python基础===创建大量对象是节省内存方法
    java===java习题---Josephu问题
    java===java基础学习(14)---封装
  • 原文地址:https://www.cnblogs.com/zzkgis/p/3742575.html
Copyright © 2011-2022 走看看