FlexÍÏ×§
¹Ø¼ü×Ö: flex, ÍÏ×§º¯Êý
Flex×é¼þÄÚÖÃÁË´¦ÀíÍÏקʼþµÄ½Ó¿Ú£¬ÓÐЩ¿Ø¼þÒѾʵÏÖÁËÍÏ×§¹¦ÄÜ£¬±ÈÈçList¡¢DataGrid¡¢Menu¡¢TileList¡¢Tree£¬ÔÚÉèÖÃÏà¹ØµÄÍÏ×§ÊôÐÔºó£¬ËüÃǶ¼¿ÉÒÔÔÚÏàͬÀàÐ͵Ä×é¼þÖ®¼äÀûÓÃÊó±êÀ´ÊµÏÖÊý¾ÝµÄ×ªÒÆ¡£
allowDragSelection ÊÇ·ñ¿ÉÒÔÍÏÑ¡
allowMultipleSelection ÊÇ·ñ¿ÉÒÔ¶àÑ¡
dragEnabled ÊÇ·ñ¿ÉÒÔÍ϶¯×ÓÔªËØ
dragMoveEnabled ÊÇ·ñÒÆ¶¯ÔªËØÎ»Ö㬶ø²»ÊǸ´ÖÆÔªËØ
dropEnabled ÊÇ·ñ¿ÉÒÔ½«ÎïÌå·ÅÖýøÀ´
ÔÚFlexÖУ¬Óм¸¸öרÃŵĶÔÏ󹩿ª·¢Õß´¦ÀíÍÏקʼþ£º
DragManager£ºÎ»ÓÚmx.managers°üÖУ¬¹ÜÀíÍÏקʼþ
DragSource£ºÎ»ÓÚmx.core°üÖУ¬ÊÇFlex¿ò¼ÜÖеĺËÐijÉÔ±£¬´¦ÀíÍÏ×§ÖеÄÊý¾Ý´«µÝ
DragEvent£ºÎ»ÓÚmx.events°üÖУ¬ÍÏ×§²Ù×÷ÖеÄʼþ¶ÔÏó¡£
°´ÕÕÂß¼£¬ÍÏ×§ÖÐÖÁÉÙÓÐÁ½¸ö¶ÔÏó£ºÒ»·½ÌṩÊý¾Ý£¬Ò»·½½ÓÊÕÊý¾Ý¡£ÔÚÕâ¸ö¹ý³ÌÖУ¬ÌṩÊý¾ÝµÄÒ»·½°´ÕÕǰºó˳Ðò£¬¿ÉÒÔ°ÑÕû¸ö¹ý³Ì»®·ÖΪÏÂÃæ¼¸¸öʼþ£º
mouseDown£ºÊó±ê°´Ï¡£
mouseMove£ºÊó±êÒÆ¶¯¡£
dragComplate£ºÊó±êÊÍ·Å¡£ÅжÏÄ¿±êÊÇ·ñ½ÓÊÜÊý¾Ý£¬Èç¹û¿ÉÒÔ£¬ÍϷųɹ¦¡£
½ÓÊÕ·½Ò²½«¾Àú¼¸¸ö½×¶Î
dragEnter£º±»Í϶¯¶ÔÏóÒÆ¶¯µ½Ä¿±ê·¶Î§ÖС£
dragDrop£ºÊó±êÔÚÄ¿±êÉÏËÉ¿ª¡£
dragOver£ºÊó±êÒÆ¶¯µ½Ä¿±êÉÏ¡£
dragExit£º¶ÀÏí±»ÍÏÀëÄ¿±ê·¶Î§¡£
Ïà¹ØÎĵµ£º
//»ñµÃÆÁÄ»µÄ·Ö±æÂÊ
var
x:Number=Capabilities.screenResolutionX;
var
y:Number=Capabilities.screenResolutionY;
Alert.show(
"x="
+x+
"y="
+y);
µÚ¶þÖÖ·½·¨
Alert.show(stage.fullScreenWidth+
"=="
+stage.fullScreenHeight);
//»ñµÃstage£¨¹¤×÷Çø£ ......
flexÖÐʹÓÃsocketÓëÆäËûÓïÑÔ(ÈçJava)socket½»»¥µÄÀý×Ó¡£
×Ô´ÓAdobe Flash PlayerÉý¼¶µ½9.0.124ºó£¬ÓÉÓÚ°²È«²ßÂÔµÄÐ޸ģ¬ÔÀ´µÄsocketÁ¬½Ó·½Ê½½«²»Äܱ»Ê¹Ó㬶ø±ØÐë²ÉÓÃÐµİ²È«²ßÂÔ·½Ê½À´ÑéÖ¤£¬¾ßÌåµÄ¹ý³ÌÈçÏ£º
1.Ê×Ïȼì²â·þÎñ¶ËµÄ843¶Ë¿ÚÊÇ·ñÌṩ°²È«²ßÂÔÎļþ£»
&n ......
flexºÍC++·þÎñÆ÷ͨÐÅ¡£ÒòΪ°²È«É³Â©ÎÊÌ⣬µ±swfλÓÚA·þÎñÆ÷£¬C++·þÎñÆ÷³ÌÐòλÓÚB·þÎñÆ÷ʱ¡£
ÕâʱswfºÍB·þÎñÆ÷½¨Á¢Socket½¨Á¢Á¬½Ó»á²úÉú¿çÓòÎÊÌâ¡£
½â¾ö·½·¨ÈçÏÂ
swf½¨Á¢socketʱ»áÏÈ·¢ÆðÒ»¸öÇëÇó¿çÓòÎļþµÄÇëÇó:"<policy-file-request/>"
·þÎñÆ÷½ÓÊÕµ½ºó·¢ËÍ×Ö·û´®
<?xml version="1.0"?>
<cross-doma ......
»·¾³£ºeclipse 3.5 + tomcat 6.0 + flex builder 3.0 + blazeds-turnkey-3.2.0.3978.zip£¨adobeÍøÕ¾ÉÏÏÂÔØ£©
(ÒòΪ²»ÄܷŽØÍ¼ËùÒÔÖ»ÄÜÐðÊöÁË)
1£¬Ð½¨Ò»¸ö
java web
ÏîÄ¿ ÀýÃûΪ :testjava;
2,Ôڴ˹¤³ÌÖÐдһ¸ö¼òµ¥µÄÀà:
package cn.com;
  ......