Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : flex

Ҳ̸Flex×é¼þµÄÉúÃüÖÜÆÚ

Òý×Ó£º×÷ÓÚÒ»ÃûÓÉASP.NET¿ª·¢×ªµ½Flex¿ª·¢µÄ³ÌÐòÔ±£¬×ʼÊÊÓ¦µÄ¹ý³ÌÊÇÏ൱ÓäÔúÍÇáËɵġ£ÓÉÓÚÎÒÔçÔÚASP.NETÖÐÏ°¹ßÁ˱êǩʽµÄ²¼¾ÖºÍ¶ÔÓ¦µÄcode behindµÄ±à³Ì·½Ê½£¬ÔÚFlexÖеÄMXMLÓïÑÔÖ»²»¹ýÊÇMXMLÔªËغÍAS3Óï·¨µÄÖØÐÂÊìϤ¡£µ«ÊǾÍÏñASP.NETÖеıê¼ÇÓïÑÔ£¬MXMLÖ»²»¹ýÊÇAS3µÄÒ»ÖÖ·â×°£¬¹é¸ùµ½µ×Ëü»á±»×ª»¯³ÉAS3ÔÙ½øÐбàÒ룬ËùÒÔ£¬Ö»ÓÐÁ˽âÕâÃÅÓïÑԵĵײãÔËÐлúÖÆ£¬²ÅÓпÉÄÜÕæÕý³ÉΪһÃûÓÅÐãµÄFlex¿ª·¢ÈËÔ±¡£ÓÉÓÚÓйýASP.NETµÄ¿ª·¢¾­Ñ飬ÎÒÇå³þµØÈÏʶµ½ÏñÕâÖÖÒÔXML±êǩΪ»ù´¡µÄ×é¼þʽµÄ¿ª·¢·½Ê½£¬Ö»ÓÐŪÇå³þ×é¼þµÄÉúÃüÖÜÆÚ£¬²ÅÄܽøÐи߼¶¿ª·¢£¬²ÅÄÜÔÚÓöµ½¸´ÔÓÇé¿öʱÓÐ˼·ȥ½â¾ö£¬¾ÍÏñ×öASP.NETµÄ¿ª·¢ÒªÊìϤҳÃæµÄÉúÃüÖÜÆÚÒ»Ñù¡£
Ϊ´Ë£¬ÎÒ¸Õ½Ó´¥Flex²»¾Ã¾Í¿ªÊ¼Ñо¿Flex×é¼þµÄÉúÃüÖÜÆÚ¡£ÐÒÔ˵ÄÊÇ£¬Flex BuilderÄÚǶµÄ°ïÖúÎļþÊ®·ÖϬÀû£¬ºÜÈÝÒ׾Ͳ鵽ÁËFlex×é¼þµÄµÄÉúÃüÖÜÆÚ²¿·Ö¡£²»ÐÒµÄÊÇ×÷ΪûÓÐFlash¿ª·¢¾­ÑéµÄ³ÌÐòÔ±£¬¶ÔÀïÃæµÄijЩÃû´Ê²¢²»ÊǺÜÃ÷°×¡£¾ÍÕâÑùÔÚûÓÐFlash»ù´¡µÄÇé¿öÏ£¬ÎÒÔø¾­¿´¹ýºÜ¶à±é°ïÖúÎļþ£¬µ«¸Ð¾õÄÔ×ÓÀïÒ»Ö±²»ÊǺÜÇå³þ£¬¶ÔÕû¸öÉúÃüÖÜÆÚ²»ÄÜÐγÉÒ»¸öÍêÕûµÄÂÖÀª¡£×îºóÖÕÓÚÂËÇåÁËһЩ˼·£¬½á¹û»¹ÊÇÍ£ÔÚÁËÒ»¸öÃû´ÊÉÏ£¬½Ð×ö“Render Event”¡£ÀïÃæ ......

Flex¶àSWFÎļþ¼ÓÔØÖ®Applicatoin Domain

¸ÅÒª
µ±ÎÒÃǼÓÔØÍⲿswfʱ£¬±ØÐëÒªÁ˽âÓ¦ÓóÌÐòÓò(Application Domain)¡£´ÓAdobe¹Ù·½ÎļþÖУ¬ÎÒÃÇ¿ÉÒÔµÃÖªÓ¦ÓóÌÐòÓòÄܹ»°Ñ´¦ÓÚͬһ¸ö°²È«Óò(Security Domain)ÖеÄÀà·ÖÀ뿪£¬ÕâÑù¾Í¿ÉÒÔÈÃÒ»¸öÀàµÄ¶à¸ö¶¨Òå¹²´æ£¬»òÊÇÈöà¸ö×ÓÓ¦ÓÃÀ´¹²Ïí¸¸Ó¦ÓõÄÀඨÒå¡£¼òµ¥µãÀí½â¾ÍÊÇÓ¦ÓóÌÐòÓòΪÀඨÒåÌṩÁË·ÖÇø¹¦ÄÜ¡£
Ó¦ÓóÌÐòÓò
Ò»¸öÀàµÄ¶à¸ö¶¨Òå¹²´æ£ºÄÚ´æÖÐÓжà¸öÀ࣬ËüÃÇÃû³ÆÏàͬ£¬µ«¶¨Ò岻ͬ¶¨Ò壬ÓÉÓÚ´¦ÓÚ²»Í¬µÄÓ¦ÓóÌÐòÓò£¬ËùÒÔ»¥²»¸ÉÈÅ£¬µÃÒÔ¹²´æ¡£
×ÓÓ¦Óù²Ïí¸¸Ó¦ÓõÄÀඨÒ壺N¸ö×ÓÓ¦ÓÃÒýÓÃͬһ¸ö¸¸Ó¦ÓõÄËùÌṩµÄÀඨÒ壬µ±¸¸Ó¦ÓøüÐÂʱ£¬×ÓÓ¦ÓÃËùÒýÓõÄÄÚÈÝÒ²»áËæÖ®¸üС£
µ±¼ÓÔØÍⲿswfÎļþʱ£¬¿ÉÒÔΪÆäÉèÖÃÈýÖÖÓ¦ÓóÌÐòÓò£º
Ò»¡¢½«¼ÓÔصÄswfÖ¸¶¨ÖÁÒ»¸ö¼È´æµÄÓ¦ÓóÌÐòÓòÖС£
¶þ¡¢½«¼ÓÔصÄswfÖ¸¶¨ÎªÒ»¸ö¼È´æµÄÓ¦ÓóÌÐòÓòµÄ×ÓÓ¦ÓóÌÐòÓò¡£
Èý¡¢Îª¼ÓÔصÄswfÖ¸¶¨Ò»¸öȫеÄÓ¦ÓóÌÐòÓò¡£
ÎÒÃÇÏÈÀ´¿´Ò»Ï¹ٷ½ÎĵµµÄ˵Ã÷ͼ£º
ͼÖй²ÓÐËĸöÎļþ£¬·Ö±ðΪapplication1.swf¡¢module1.swf¡¢application2.swfºÍmodule3.swf¡£module1.swf¡¢application2.swfºÍmodule3.swf¾ù±»application1.swf¼ÓÔØ£¬ÆäÖÐmodule1.swfÓëapplication1.swfÊôÓÚͬһ¸öÓò£¬module3.swf±»»®·ÖÖÁapplicatio ......

Flex 4 SDK ÐÂÌØÐԽ̳ÌϵÁÐ – Flex 4¸ÅÊö

ÕâÊÇFlex 4 SDK ÐÂÌØÐԽ̳ÌϵÁеĵÚ2Õ¡£±¾Õ¸ÅÊöÁËFlex 4µÄÉè¼ÆÄ¿±ê¼°ºËÐÄÌØÐÔ£¬²¢½éÉÜһЩÏà¹ØµÄѧϰ×ÊÔ´¡£
Flex 4¸ÅÊö
×ݹÛFlexµÄ·¢Õ¹Ê·£¬¿ÉÒÔ˵ÊÇÒ»¸ö“ÓÉ·â±Õ¿ª·Å£¬ÓÉÉÌÒµ»¯µ½ÉçÇø»¯”µÄ½ø³Ì¡£ÔçÔÚ2004ÄêMacromediaÍƳöFlex 1.0(׼ȷµÄ˵Ӧ¸ÃÊÇFlex Server 1.0)ʱ£¬ÔÚ´ó¶àÊý¿ª·¢ÕßµÄÑÛÖУ¬FlexÊÇÉñÃØÇҸ߲»¿ÉÅʵġ£Å׿ªÆäËûÒòËز»Ëµ£¬µ¥ÊÇÄÇ$25000/CPUµÄ¼Û¸ñ£¬¾ÍÈÃÈËîªÄ¿½áÉࣨÏëÏë½ñÌìºÜ¶à¸öÈ˵çÄÔ¶¼´ïµ½ÁË4ºË¡¢8ºËµÄˮƽ£¬²¿ÊðÒ»Ì×Flex Server×ãÒÔÈÃÄãÇã¼Òµ´²úÁË£©¡£µ±È»MacromediaÒ²ºÜ¿ìÒâʶµ½ÁËÆäÉÌÒµÕ½ÂÔÉϵÄʧ²ß£¬¼Ì¶øÍƳö2.0°æ±¾Ê±£¬½«Flex±äΪ´¿´âµÄ¿Í»§¶Ë¼¼ÊõÓëÊý¾Ý·þÎñÏà½áºÏµÄģʽ£¬²¢Ãâ·ÑÌṩFlex SDKµÄÏÂÔØ£¬Ê¹µÃFlexµÃÒÔ“·ÉÈëÑ°³£°ÙÐÕ¼Ò”£¬µ«µ±Ê±µÄÔÚ¿ª·¢ÕßÖеÄÆÕ¼°ÂÊÈÔÈ»²»ÉõÀíÏë¡£
2007Ä꣬AdobeÔÚÊÕ¹ºMacromediaºó×ö³öÁËÒ»¸öÖØÒªµÄ¾ö¶¨£¬½«Flex SDKÍêÕû¿ªÔ´£¡ÏÖÔÚ¿´À´£¬ÕâÒ»²ßÂÔ´Ó±¾ÖÊÉϸıäÁËFlexÇú¸ßºÍ¹ÑµÄÐÎÏó¡£°éËæ×ÅFlex 3.0µÄÕýʽ·¢²¼£¬Flex¿ª·¢ÕßÕóÓªÃÍÔö£¬ÃæÏòFlexÉè¼ÆµÄ¿ªÔ´¿ò¼Ü£¬Àà¿âѸËٷḻ£¬»ùÓÚFlexʵÏÖµÄÆóÒµ¼¶Ó¦Óã¬ÉçÇø£¬ÓÎÏ·µÈ³ä³âÁËÕû¸ö»¥ÁªÍø¡£¿ÉÒÔ˵£¬ÏÖÔÚµÄFlexºÍFlashÒ»Ñù£¬ÒѾ­ÎÞ´¦²»ÔÚ¡£Í¬Ê±£¬&ldqu ......

Flex 4 SDK ÐÂÌØÐԽ̳ÌϵÁÐ – MXML 2009

ÕâÊÇFlex 4 SDK ÐÂÌØÐԽ̳ÌϵÁеĵÚ3Õ¡£±¾Õ½éÉÜÁËFlex 4ÒýÈëµÄMXML 2009ÃüÃû¿Õ¼äÒÔ¼°Flex×é¼þÓëÃüÃû¿Õ¼äÓ³ÉäµÄ»úÖÆ¡£
Flex 3µÄÃüÃû¿Õ¼ä
Flex 3¶¨ÒåÁËΨһµÄMXMLÃüÃû¿Õ¼ä£¬¼´MXML 2006¡£ÔÚFlex Builder 3ÖÐÉùÃ÷MXML 2006ÃüÃû¿Õ¼äµÄĬÈϸñʽÈçÏ£º
xmlns:mx="http://www.adobe.com/2006/mxml"
ÖµµÃ×¢ÒâµÄÊÇ£¬ºÜ¶à³õѧÕßÎóÈÏΪ”mx”ΪÃüÃû¿Õ¼ä¡£ÊÂʵÉÏ£¬ÉÏÃæµÄÓï¾äÖДmx”Ö»ÊÇÃüÃû¿Õ¼äµÄǰ׺£¬»òÕß˵ÊÇÒ»¸ö“±ðÃû”¡£Äã¿ÉÒÔ½«mxÐÞ¸ÄΪÈÎÒâÖµ£¬ÉõÖÁ¿ÉÒÔʹÓÓ¿Õǰ׺”£¬ÀýÈ磺
<Application xmlns="http://www.adobe.com/2006/mxml">
<Button />
</Application>
MXML 2009
Èç¹ûÄãʹÓÃFlash Builder 4´´½¨Ò»¸öFlex 4Ó¦ÓóÌÐò£¬»á·¢ÏÖĬÈÏÇé¿öÏÂFBΪÄã´´½¨ÁË3¸öÃüÃû¿Õ¼ä£¬ÈçÏÂËùʾ£º
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
....
</s:Application>
Çé¿öËƺõ¸´ÔÓÁË£¿ÎªÁ˸üºÃµÄÀí½âFlex 4ÖеÄÃüÃû¿Õ¼ä£¬Ê×ÏÈÐèÒª½éÉÜÁ½¸öÃû´Ê£º“Ó ......

Flex 4 SDK ÐÂÌØÐԽ̳ÌϵÁÐ – ÐÂÔöMXML±êÇ©

±¾ÕÂÊÇFlex 4 SDK ÐÂÌØÐԽ̳ÌϵÁеĵÚ4Õ¡£±¾Õ½éÉÜÁËMXML 2009ÐÂÔöµÄ±êÇ©£¬°üÀ¨£º
Declarations
Vector
Library
Definition
Private
Reparent
<Declarations />
Declarations±êÇ©ÊÇFlex 4ÖÐ×î³£ÓõÄÐÂÔö±êÇ©¡£
ÔÚFlex 3ÖУ¬¶ÔÓÚÒ»¸öMXML×é¼þµÄÖ±½Ó×ÓÔªËØ£¬¿ÉÒÔÓÐÒÔϼ¸ÖÖÇé¿ö£º
1. ÊôÐÔ±êÇ©£¬ÀýÈ磺
<mx:Label xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:text>
<mx:String>test</mx:String>
</mx:text>
</mx:Label>
2. ×÷ΪĬÈÏÊôÐÔµÄÖµ£¬ÀýÈ磺
ListµÄĬÈÏÊôÐÔΪDataProvider
<mx:List xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:ArrayCollection>
....
</mx:ArrayCollection>
</mx:List>
3. ×÷ΪÈÝÆ÷µÄChildren£º
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Button />
<mx:Label />
</mx:Canvas>
4. ÉùÃ÷²¢´´½¨·Ç¿ÉÊÓ»¯¶ÔÏó£º
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HTTPService id="sevice" />
</mx:Canvas>
ÔÚFlex 4ÖУ¬¶ ......

AmfphpÓëFlex½»»¥:¶ÁÈ¡mysqlÊý¾Ý

·þÎñÆ÷¶Ë´úÂë,amfphpµÄservicesĿ¼Ï½¨Á¢readData.phpÎļþ,´úÂëÈçÏÂ
<?php
    class ReadDB
    {
              function getData()
             {
                  mysql_connect("localhost","root","root");
                  mysql_select_db("mmmm");
                  mysql_query("SET NAMES UTF8");
                  $sql="select * from mmmm";
                  return mysql_query($sql);
          &nb ......

AmfphpÓëFlex½»»¥:¶ÁÈ¡mysqlÊý¾Ý

·þÎñÆ÷¶Ë´úÂë,amfphpµÄservicesĿ¼Ï½¨Á¢readData.phpÎļþ,´úÂëÈçÏÂ
<?php
    class ReadDB
    {
              function getData()
             {
                  mysql_connect("localhost","root","root");
                  mysql_select_db("mmmm");
                  mysql_query("SET NAMES UTF8");
                  $sql="select * from mmmm";
                  return mysql_query($sql);
          &nb ......
×ܼǼÊý:792; ×ÜÒ³Êý:132; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [9] [10] [11] [12] 13 [14] [15] [16] [17] [18]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ