上一页 1 ··· 6 7 8 9 10 11 下一页

2013年5月22日

HTTPService读取XML(Actionscript)

摘要: import mx.rpc.http.HTTPService;var configService:HTTPService = new HTTPService();configService.url = "javaServer.xml"; //XML路径configService.resultFormat = HTTPService.RESULT_FORMAT_TEXT; configService.addEventListener(ResultEvent.RESULT, configService_resultHandler); //回调函数 ... 阅读全文

posted @ 2013-05-22 10:46 看天空的星星 阅读(259) 评论(0) 推荐(0) 编辑

一个remoteobject调用多个java方法(Actionscript)

摘要: import mx.rpc.remoting.RemoteObject;var myJavaService:RemoteObject = new RemoteObject(); myJavaService.endpoint = configXML.port; //http://192.168.9.180:8080/suizhou_visit/messagebroker/amf myJavaService.destination = "demoservice"; myJavaService.showBusyCursor = true; myJavaService.addEve 阅读全文

posted @ 2013-05-22 10:39 看天空的星星 阅读(236) 评论(0) 推荐(0) 编辑

extjs grid renderer用法(转)

摘要: 今天在做项目时,需要在列表中的某列添加一个超链接,首先要取得当前选中行的数据,判断数据类型,然后链接到不同的页面,研究下。发现ExtJs提供了一个很强的方法如下:1 var cm = new Ext.grid.ColumnModel(2 [3 new Ext.grid.RowNumberer({ header: "", width: 20, align: 'center' }),4 { header: '', align: 'center', dataIndex: 'AccountAndRoseID', wid 阅读全文

posted @ 2013-05-22 10:32 看天空的星星 阅读(273) 评论(0) 推荐(0) 编辑

ExtJs ajax调用汇总(转)

摘要: 1 //异步ajax调用 2 /** 3 * 异步调用ajax,成功后返回值,作为回调函数的参数 调用失败会提示 4 * 5 * @param {} 6 * urlStr 7 * @param {} 8 * paramsObj 9 * @param {}10 * callbackFunc11 */12 function ajaxCall(urlStr, paramsObj, callbackFunc) {13 Ext.Ajax.request({14 url : ur... 阅读全文

posted @ 2013-05-22 09:29 看天空的星星 阅读(316) 评论(0) 推荐(0) 编辑

2013年5月7日

esri:InfoSymbol

摘要: 1 <esri:InfoSymbol id="infos"> 2 <esri:infoRenderer> 3 <fx:Component> 4 <mx:HBox> 5 <s:Label text="第一列"/> 6 <s:Label text="第二列"/> 7 </mx:HBox> 8 </fx:Component> 9 ... 阅读全文

posted @ 2013-05-07 16:09 看天空的星星 阅读(258) 评论(0) 推荐(0) 编辑

ArcGIS Viewer for Flex 4326坐标系与12100坐标系坐标互转

摘要: 1 定义以4326坐标系定位的地图 1 <esri:SpatialReference id="lo" wkid="4326" /> 2 3 <esri:Map crosshairVisible="true" width="100%" height="100%" id="myMap" logoVisible="false"> 4 <esri:ArcGISTiledMapServiceLayer url="http:// 阅读全文

posted @ 2013-05-07 16:02 看天空的星星 阅读(809) 评论(0) 推荐(0) 编辑

ArcGIS Viewer for Flex绘点,连线

摘要: 前言,如何加载ArcGIS类库及地图服务参见<ArcGIS Viewer for Flex加载地图服务>1 定义坐标点1 private var arr:Array=2 [3 new MapPoint(114.06,30.74,new SpatialReference(4326)),4 new MapPoint(114.41,30.55,new SpatialReference(4326))5 ];2 建立map 1 <esri:Map crossha... 阅读全文

posted @ 2013-05-07 15:55 看天空的星星 阅读(333) 评论(0) 推荐(0) 编辑

ArcGIS Viewer for Flex加载地图服务

摘要: 1 建立flex项目将ArcGIS Viewer for Flex API加载到libs文件夹下(agslib-3.2-2013-03-19.swc),并在项目-属性-flex构建路径-库路径中将其添加进去2 定义坐标系1 <fx:Declarations>2 <!-- 4326为经纬度坐标系,12100为投影坐标系 -->3 <esri:SpatialReference id="sr" wkid="4326" />4 </fx:Declarations>3 绘制地图 1 <esri:Map cros 阅读全文

posted @ 2013-05-07 15:45 看天空的星星 阅读(436) 评论(0) 推荐(0) 编辑

一个remoteobject调用多个java方法(Flex)

摘要: 1 定义remoteobject对象 1 <fx:Declarations> 2 <s:RemoteObject id="myService" destination="demoservice" 3 endpoint="http://localhost:8080/BlazeJavaDemo/messagebroker/amf" 4 fault="myService_faultHandler(event)" 5 showBusyCu... 阅读全文

posted @ 2013-05-07 15:26 看天空的星星 阅读(280) 评论(0) 推荐(0) 编辑

使用BlazeDS与Flash Builder4.5整合Java EE应用

摘要: 前言写这篇文章的目的是对于一个完全不懂的新手,也能快速step by step创建Flex与Java EE的整合应用,开启java与flex的企业级应用开发的第一页。开发环境及工具windows 7JAVA SDK 1.6.0_17Flash Builder 4.5SpringSource Tool Suite IDEBlazeDS之所以选用SpringSource Tool Suite IDE是因为常用的插件已经帮我们集成好,而且对于Spring的操作支持等自然不必说。step by step create the demo1. 首先使用SpringSource Tool Suite 创建我 阅读全文

posted @ 2013-05-07 15:07 看天空的星星 阅读(231) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 下一页

导航