Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Flex Óë servlet ͨÐÅ

servlet ¶Ë£º
String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");

Flex ǰ̨¶Ë
<fx:Script>
<![CDATA[
import flash.trace.Trace;
private var loader:URLLoader = new URLLoader();
private function asCallHandler():void{
// URL
var url:String = "http://localhost/app01/getUser";
// ²ÎÊý
var args:URLVariables = new URLVariables();
args.userId = 1;
// RequestÇëÇó
var request:URLRequest = new URLRequest(url);
request.data = args;// °ó¶¨²ÎÊý
//ÇëÇó¼ÓÔØÆ÷

loader.addEventListener(Event.COMPLETE,handleServerResponse);
loader.load(request);//·¢ËÍÇëÇó
}
private function handleServerResponse(e:Event):void{
trace("User data is loaded");
// »ñÈ¡servletÖÐprintln()µÄÄÚÈÝ
debugText.text = loader.data;
}
protected function button1_clickHandler(event:MouseEvent):void
{
// ·¢ËÍÇëÇó
asCallHandler();
}
]]>


Ïà¹ØÎĵµ£º

flexѧϰ±Ê¼Ç

1.Ç°¶ËflexµÄ¶ÔÏóºÍjava¶ËµÄ¶ÔÏóÃû×ÖÒªÒ»Ö£¬java¶ËµÄ¶ÔÏó±ØÐëÐòÁл¯£¬·ñÔòÎÞ·¨±»flex¶Ëµ÷ÓÃת»¯
javaºǫ́´«»ØµÄlistÀï±ßµÄ¶ÔÏ󣬱ØÐëflex¶ËÒ²Óд˶ÔÏ󣬶øÇÒÁ½¸ö¶ÔÏóµÄÊôÐÔÒªÒ»Ö£¬·ñÔò£¬²»Äܻص÷
2.»Øµ÷º¯Êý²»Æð×÷Óã¬ÓпÉÄÜÊÇÒòΪ»Øµ÷º¯ÊýÃû×ÖÒýÆðµÄ
flex´Ójava¶ËÈ¡¶à¸ölist·â×°µÄ¶ÔÏóʱ£¬¶Ô¸÷¸ödatagridÒªÓÃÊý¾Ý° ......

BlazeDS + Hibernet + Flex ¿ª·¢WebÓ¦ÓÃ

BlazeDS + Hibernet + Flex ¿ª·¢WebÓ¦ÓÃ
ÍøÉÏÓйØÓÚ¼¯³ÉBlazeDSºÍFlexµÄʾÀý£¬µ«ÊǴ󲿷ֶ¼Êǽ«¿Í»§¶ËºÍ·þÎñÆ÷´úÂë·ÅÖõ½Ò»¸öÏîÄ¿£¬ÕâÖÖ·½Ê½Ê¹ÎÒÃÇÔÚ±àÂëʱÈÝÒײúÉú»ìÏý£¬²¢ÇÒÒ²²»ÀûÓÚ´óµÄÏîÄ¿µÄ¿ª·¢Óë¹ÜÀí¡£ÏÂÃæͨ¹ýÒ»¸ö¼òµ¥µÄÀý×ÓÑÝʾһÏ£¬½¨Á¢¿Í»§¶ËºÍ·þÎñÆ÷¶Ë·ÖÀëµÄ£¬·þÎñÆ÷¶Ë²ÉÓÃHibernet+BlazeDSµÄFlex WebÏîÄ¿¡£Ï£ ......

MyEclipse6.5 + Adobe Flex Builder 3 ²å¼þ°æ

http://blog.csdn.net/xuyesheng/archive/2009/08/20/4467515.aspx
Flex
Builder3
×¢²áÂ룺
1377-4167-5844-4698-0048-5821—
×î
ºÃÓõÄÒ»¸ö
1377-4168-2018-0771-2432-1495
1377-4760-3354-0772-2773-8996
1377-4165-2080-7265-7813-8901
1377-4964-5021-8182-2399-8235
LiveCycle Data Services
×¢²áÂë ......

FLEX MDI´°¿Ú¿ª·¢ÊµÀý

Ö÷³ÌÐò´úÂ룺
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="vertical"
    xmlns:mdi="ext.containers.windows.mdi.*"
    width="100%"
    height= ......

Flex Viewer½âÎö Òý GIS¹ãÒé

Flex Viewer½âÎö-----Òý
FlexViewerÊÇESRI¹«Ë¾ÀûÓÃFlex¼¼Êõ£¬»ùÓÚ±¾ÉíÒÑ¿ª·¢ºÃµÄFlex API°ü¿ª·¢µÄÒ»¸ö³ÉÊìµÄWebGISʵÀý¿ò¼Ü¡£ÆäÍêÈ«ÊÇ¿ª·ÅµÄ£¬¿ÉÒÔ´Ó¹Ù·½ÍøÕ¾ÉϵÄCode GalleryÖ±½Óϵ½Ô´Âë¡£Ò²¿ÉÒÔ´Ó±¾È˵Ä×ÊÔ´µãÏÂÔØ¡£ÍøÖ·£º
http://download.csdn.net/source/2374602
ÏÂÔØÍê³Éºó½âѹֱ½Óµ¼ÈëAdobe Flex 3 BuilderÏîÄ¿¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ