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

flex ʼþÖ®Àí½â


      
Ê×ÏÈ£¬ÉêÃ÷±¾ÎÄÊÇתÔØ
http://blog.csdn.net/ivanmarkliu/archive/2009/07/08/4327570.aspx
£¬´ó¼Ò¿ÉÒÔ·ÃÎʸÃÁ´½Ó£¬Ò²¿ÉÒÔÖ±½ÓÔĶÁ±¾ÎĺóÐø²¿·ÖÒÔÁ˽â
flex
ʼþ¡£½ÓÏÂÀ´¼òµ¥Ì¸ÏÂΪºÎҪתÔØ´ËÎļ°±¾È˶ԴËÎĵÄһЩ²¹³ä¡£
      
¿ÉÒÔÕâÑù˵
flex
ÊÇʼþÇý¶¯µÄ£¬ÊìÁ·ÕÆÎÕʼþ¶ÔÓÚÌá¸ß
flex
¿ª·¢Ë®Æ½ÊÇÖÁ¹ØÖØÒªµÄ£¬
flex
µÄ¾­µä°ó¶¨»úÖƾÍÊÇ»ùÓÚ
event
¡£ÍøÉ϶ÔÓÚ
flex event
µÄ½éÉܺܶ࣬ÆäÖв»·¦¹Ù·½µÄ
e
ÎÄ£¬µ«ÊDZ¾È˾õµÃ±¾×ªÔØÖ®ÎĶÔÓÚʼþµÄºËÐēʼþ´«²¥”½²½âµÄÊDZȽÏͨË×Ò׶®µÄ£¬ÇÒÓÐ
demo
£¬Ö»ÒªÔËÐÐ
demo
¼´ÄÜÀí½â´ó¸Å¡£Òò´Ë±¾ÈËÈÏΪ½áºÏ´ËתÔØƪ£¬ÔÙÁ˽âÏÂʼþÅÉ·¢µÄÒ»¸ö½è¿Ú
IEventDispatcher
ºÍ»ùÀà
EventDispatcher
£¬ÔÙÊìϤÏÂ×Ô¶¨Òå
event
±ã¿ÉÊìÁ·ÕÆÎÕ
flex event
ÁË¡£
   
ÔÚתÔØÕýÎÄ֮ǰ£¬ÏȲ¹³äʼþ´«²¥µÄ
3
¸ö½×¶ÎÖµ£¬Ê¹´ó¼Ò¸üÒ×Àí½â¡£
   
EventPhase.CAPTURING_PHASE: 1
£¬

²¶»ñ½×¶Î
EventPhase.AT_TARGET: 2
£¬Ä¿±ê½×¶Î
EventPhase.BUBBLING_PHASE: 3
£¬Ã°Åݽ׶Î
 
 
///////////////////////////////////////////////
תÔØÕýÎÄ
/////////////////////////////////////////////////
1.
×î¼òµ¥µÄʼþ
ÒÔÏ´úÂ룺
  
1:

xml

version
="1.0"
encoding
="utf-8"?>
  
2:

<
mx:Application

xmlns:mx
="http://www.adobe.com/2006/mxml"
  
3:
                
layout
="absolute">
  
4:
    
<
mx:Script
>
  
5:
        
[CDATA[
  
6:
            
import flash.events.MouseEvent;
  
7:
            
import mx.controls.Alert;
  
8:
 
   
9:
          &nb


Ïà¹ØÎĵµ£º

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

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

Flex Ò³ÃæÌøת

flex Ò³ÃæÌøת
·½·¨Ò»£ºÊ¹ÓÃnavigateToURL
var url:String = "http://localhost/flex/test.jsp";
var request:URLRequest = new URLRequest(url);
navigateToURL(request,"_self");
·½·¨¶þ£ºÒýÓÃflashÖÐµÄ import flash.external.ExternalInterface Õâ¸ö½Ó¿Ú
ËûÄÜÌṩÏñjsÖÐwindow.location.href·½·¨Ò»Ñù·½±ã
Extern ......

flexÖеÄÊôÐÔ


flex ¿Ø¼þÊôÐÔ
2009-11-12 16:06
ʹÓÃ<mx:Style>±êÇ©ÔÚMXMLÎļþÖд´½¨±¾µØµÄÑùʽ¶¨Òå¡£Õâ¸ö±êÇ©°üº¬ÁË·ûºÏCSS2.0Óï·¨µÄÑùʽ±í¶¨
Òå¡£ÕâЩ¶¨Òå»áÓ¦Óõ½µ±Ç°ÎĵµÒÔ¼°µ±Ç°ÎĵµµÄ×ÓÎĵµ¡£
<mx:style>
.solidBorder{//ÀàÑ¡ÔñÑùʽ
borderStyle:solid;
}
button{//×é¼þ¶¨ÒåÑùʽ
borderStyle:solid;
}
.. ......

FlexµÄHSV to RGB £¬RGB to HSV Ëã·¨

/*Copyright (c) 2006 Adobe Systems Incorporated
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, m ......

Flex Óë servlet ͨÐÅ ¡¾xml¡¿

String userId = request.getParameter("userId");
System.out.println(userId);
response.setCharacterEncoding("UTF-8");
//response.getWriter().println("hello world -- ÎÒ°®Äã¡£¡£¡£");
String xml = "<user>" +
"<username>Ìθç</username>" +
"</user>";
respon ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ