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

ΪÄãµÄFlexÓ¦ÓóÌÐò´´½¨Ò»¸ö×Ô¶¨Ò嶯»­¹â±ê

ÔÚ±¾´ÎFlexÖ¸ÄÏÖУ¬ÈÃÎÒÃÇ¿´¿´ÈçºÎÔÚFlashÖÐʹÓÃCursorManagerÀà´´½¨Ò»¸ö¶¯»­¹â±êÀ´Ì滻ĬÈϵļýÍ·¹â±ê¡£
1
. ´´½¨Ò»¸öеÄFlexÏîÄ¿ÃûΪAnimatedCursor£¬ÉèÖÃÖ÷MXMLÓ¦ÓóÌÐòÃûΪMain.mxml¡£
2
.
ÎÒÃǵÄ×Ô¶¨Òå¹â±êÊÇÒ»¸öswfÎļþ£¬Òò´ËÇë´ò¿ªFlashÀ´´´½¨×Ô¼ºµÄ×Ô¶¨Òå¹â±ê¡£Ö¡ÂÊÉèÖÃΪÊÊÓ¦FlexÖ¡ÂʵÄ24ÔÚÕâÀÎÒÃÇÖ»ÊǼòµ¥ÊÖ¹¤»æÖÆÒ»¸ö¼ý
Í·²¢´´½¨Ò»¸ö²¹¼ä¶¯»­À´¸Ä±äËüµÄÑÕÉ«£¬ÄãÒ²¿ÉÒÔ×Ô¼º¿ª¶¯ÄԽÀ´´´½¨Ò»¸ö¸üÓд´ÒâµÄ¶¯»­£¬È»ºó·¢²¼ÄúµÄswfÎļþ¡£ 
3
. ·µ»Øµ½Flex£¬Ìí¼ÓÒ»¸öCheckBox×é¼þ£¬µ±Æä·¢Éú±ä»¯Ê±µ÷ÓÃÎÒÃǼ´½«´´½¨µÄtoggleCursor·½·¨¡£
1.<mx:CheckBox label="Custom Cursor" change="toggleCursor(event)"/>
4.
Ìí¼ÓÒ»¸ö½Å±¾¡£Ê×ÏÈ£¬Ç¶ÈëÄúµÄSWFÎļþ£¬½«Æä×÷Ϊ×Ô¶¨Òå¹â±êʹÓá£
1.[Embed(source="cursor.swf")]
2.private var AnimatedCursor:Class;
5
. ÔÚtoggleCursor·½·¨ÖУ¬¼ì²é¸´Ñ¡¿òÊÇ·ñ±»Ñ¡ÖС£
Èç¹ûΪtrue£¬µ÷ÓÃCursorManagerÀàµÄsetCursor·½·¨²¢°ÑËüµÄÒýÓô«µÝ¸øÄãǶÈëµÄswf¹â±ê¡£
setCursor·½·¨·µ»ØÒ»¸öIDÓÃÓÚ¹â±êµÄÉèÖã¬ÄãÐèÒª´æ´¢Õâ¸öID£¬ÒÔ±ãÎÒÃÇÒÔºóÓÃÔÚremoveCursor£¨£©·½·¨Àï¡£
01.import mx.managers.CursorManager;
02. 
03.private var cursorID:int;
04. 
05.private function toggleCursor(e:Event):void{
06.         if (e.currentTarget.selected)
07.              cursorID = CursorManager.setCursor(AnimatedCursor);
08.         else CursorManager.removeCursor(cursorID);
09.}
6
.
ÏÂÃæÊÇ×îºóµÄ´úÂ룬ÔËÐиóÌÐò½øÐвâÊÔ°É¡£
01.<?xml version="1.0" encoding="utf-8"?>
02.<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
03.   verticalAlign="middle" backgroundColor="#FFFFFF">
04. 
05.    <mx:Script>
06.        <![CDATA[
07.            import mx.


Ïà¹ØÎĵµ£º

flex {as×ܽá}

  ×÷Ϊһ¸ö²»ÈëÁ÷µÄflex¿ª·¢ÈËÔ±×ܽáһϲ»ÈëÁ÷µÄ¸ÐÎò¡£
  ÎÒÒ»¶¨Òª¼Çס£¬asÖеıäÁ¿µÄ×÷Ó÷¶Î§Ö»ÓÐÁ½ÖÖ£¬functionºÍclass,ËùÒÔÒªÏëÓñհü¾ÍÐèÒªÒ»¸öcreateFunctionµÄ¶«Î÷²ÅÐУ¬²»ÒªÍýÏëÔÚforÑ­»·ÖÐÓñհüÁË¡£¿´ÁËÒ»ÏÂas3µÄ²Î¿¼£¬·¢ÏÖËüµÄÇ°ÊÀºÍlua»¹ÕæÏñ£¬as3µÄ¼Ì³ÐÆäʵ»¹ÊÇprototypeÀ´×öµÄ£¬¾ÍÊÇluaµÄÔª±íÁË£¬ ......

ÔÚExcelÓëFlexÖ®¼äÕ³ÌùÊý¾Ý

2ÖÖ·½·¨£¬
Ò»£¬ÀûÓÃjs¶ÁÈ¡ð¤Ìù°æ£º
var content = clipboardData.getData("Text");
document.getElementById("${application}").getClipboardData(content);
¶þ£¬Ö±½Ó¸´ÖƵ½datagrid
ÔÚDataGridÖУ¬µ±°´ÏÂCtrl¼üʱ£¬ÎÒÃÇ´´½¨Ò»¸öÒþ²ØµÄÎı¾£¨TextField£©×é¼þ£¬²¢½«½¹µã¶¨Î»¸øËü£¬ÕâÑù£¬ÎÒÃǾͿÉÒÔ½ÓÊÜÈκÎͨ¹ýCtrl+VÕ ......

Flex Builder ¿ì½Ý¼ü

Flex Builder ¿ì½Ý¼ü
AdobeÔÚ¿ª·¢Flex×îÓÐÀûµÄ¹¤¾ß¾ÍÊÇFlex Builder£¬¿ìËÙ¼ü¶ÔÒ»°ã¿ª·¢ÕßÀ´Ëµ¶¼·Ç³£ÓÐÓ㬺ܶà¿ìËÙ¼üÓë×éºÏ¼üÊÇ»áÓëÆäËûÈíÌå»òϵͳ¶¼ÓÐÀ×֮ͬ´¦£¬Æ©Èç Ctrl + C ¾ÍÊǸ´ÖÆ£¬Ctrl + V ¾ÍÊÇÌùÉÏ¡£ÈôÄãÓÐ×¢Òâµ½¾Í»á²»ÄÑ·¢ÏÖ£¬ÆäʵFlex BuilderÓкܶàÓëEclipse±à¼­¹¤¾ßÒ²ÊÇÓÐÐí¶àÏàËÆÖ®´¦¡£ ¶à¼ÓÉÆÒÔÀûÓðɣ¡
C ......

ÀûÓÃflex builder À´¿ª·¢php

ÒòΪflex builder ¹¤¾ßÊÇ»ùÓÚeclipse ÉϵÄ,ËùÒÔһЩ¿ª·¢plug in ÔÚflex builder  Ò²ÊÇ¿ÉÒÔÓõÄ.
php:
   Help-->Software Updates-->Find and Install-->Search for new feature to install-->new Reomote site
      URL: http://update.phpeclipse.net/update/st ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ