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

ÍøÒ³Ïòflex´«²ÎÊý·½·¨¼°Òªµã

ÍøÉÏÄܲ鵽ºÜ¶àÀàËÆ×ÊÁÏ£¬µ«ÍêÕûÐÔ²»¸Ò¹§Î¬¡£ÒÔÏÂÊǽâ¾ö·½°¸¼°Òªµã£º
·½·¨Ò»£º
ͨ¹ýurlµÄ·½Ê½Ïòflex´«²ÎÊý
µÚ1²½£ºÔÚÍøÒ³ÖÐÉèÖÃÒ»¸öÁ´½Ó£¬Èç <a
href="test.jsp?p1=test1&p2=test2">²âÊÔÁ´½ÓÒ»</a>£¬ÆäÖÐtest.jspǶÈëÁË
flash
µÚ2²½£º»ñÈ¡²ÎÊý
var params:Object
=URLUtil.parseUrlParameters(ExternalInterface.call("window.location.search.substring",
1));
var param1:String=params["p1"];
parseUrlParametersÊÇÒ»¸ö¼òµ¥µÄ·ÖÎöurl²ÎÊýµÄ·½·¨£¬ÒÔÏÂÊÇ·½·¨Ì壺
public static function parseUrlParameters(query:String):Object{
     var params:Object = {};
     if(query) {
                var pairs:Array
=
query.split("&");
                for(var i:uint=0; i < pairs.length; i++) {
                    var pos:int = pairs.indexOf("=");
                    //Alert.show(String(pos));
                    if(pos != -1) {
                        var argname:String = pairs.substring(0, pos);
                        var value:String = pairs.substring(pos+1);
                        params[argname] = value;
                    }
                }
            }
            return params;
  }
×¢£ºÈç¹ûwindow.location.search.s


Ïà¹ØÎĵµ£º

Flex Óë as3.0 SWF Ö®¼äµÄͨѶ

Ô´ÌùµØÖ· http://www.riachina.com/showtopic.aspx?topicid=8556#
ÓÉÓÚLocalconncetionµÄijЩÏÞÖÆ(һ̨¿Í»§Ö»¿ÉÒÔʹÓÃÌض¨Ãû×ÖµÄÒ»¸öÁ¬½Ó£¬ÕâÑùµÄ³ÌÐòÈç¹û¿ªÁ½¸ö´°¿Ú¾Í»á·¢ÉúÒì³£)£¬½ñÌìÏÐ×ÅûÊÂ×öÁËÒ»¸öÕâÑùµÄÊÔÑé¡£ÈÃFlash CS3ºÍFlexµÄ´úÂë¿ÉÒÔÏ໥µ÷Óã¬ÎªÁËÏÔʾЧ¹û£¬ÔÚË«·½µÄ½çÃæ·Ö±ð·ÅÖÃÁËÒ»¸öÎı¾ÊäÈë¿òºÍÒ»¸ö°´Å¥¡ ......

¹ØÓÚflex ÖÐevent ±»´¥·¢µÄÎÊÌâ

  strategyMarketsOfCurrentStrategy.addEventListener(CollectionEvent.COLLECTION_CHANGE,          strategyMarketsDataChangedHandler);
          strategyMarketsOfCurrentStrategy.removeAll();   &nbs ......

Flex Ê鼮ѡÔñ

ÉÏÃæÊÇÒ»¸öflex×öµÄÑ¡Ôñ£¬Ö÷ҪѧϰÊý¾Ý  Model¸úDateGridµÄÓ÷¨ ¹þ£¬Ô´ÂëÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" fontSize="12">
 <mx:Model id="books">
  <datas>
  <book>
  ......

Flex»òFlashµÄ¿çÓò·ÃÎʵĽâ¾ö·½°¸


¹ØÓÚFlex»òFlashµÄ¿çÓò·ÃÎʵĽâ¾ö·½°¸£¬ÊÂÇéµÄÆðÒòÊÇ£¬ÓÉÎÒ¹«¿ªµÄÒ»¸öwebservice£¨²»Çå³þÕâ¸öwebservice¸ÉʲôµÄÇë¿´ÕâÀ¿ªÊ¼µÄ£¬kenshinµÄÅóÓÑsensunÔÚÕâ¸ö¹«¿ªµÄwebserviceµÄ»ù´¡ÉÏÖÆ×÷ÁËÒ»¸öweather²éѯµÄ£¬ÔÚ±¾»ú²âÊÔok£¬Ò»Äõ½ÍøÉÏ£¬¾Í»á³öÏÖerror£¨ÊÇ¿çÓò·ÃÎʵĴíÎ󣩣¬ºóÀ´£¬kenshinÖÕÓÚÕÒµ½ÁËÕâ¸öÎÊÌâµÄ½â¾ö·½° ......

update Flex TreeGrid

Summary:
ÔÚDataGridÖÐÏÔʾ²ã¼¶½á¹¹£¬googleÁËһϣ¬ÕÒµ½flexlibÖеÄTreeGrid¡£°ÑÔ´Âë¼ÓÔص½ÏîÄ¿ÖУ¬°´ÕÕÎĵµÈ¥ÊµÏÖÆ书ÄÜ¡£×îºó·¢ÏÖÓкöàbug£¬±ÈÈ綨λ²»×¼£¬ÎÞ·¨Í϶¯µÈÎÊÌ⡣ͨ¹ýÔĶÁºÍÐÞ¸ÄTreeGridÀ࣬ÕâЩbug¶¼½â¾öÁË¡£½Ó×ÅÎÞÒâÖз¢ÏÖ£¬ÅÅÐòÓÐÎÊÌâ¡£µã»÷ÁÐÍ·ÅÅÐò£¬·¢Ïֲ㼶½á¹¹±ä»ìÂÒÁË£¬Õâ¸öÎÊÌâ±È½ÏÑÏÖØ¡£ÒòΪcreat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ