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

Flex¡¡¿ª·¢ÏîĿС½á

1.µ¯³öд°¿Ú
Flexͨ¹ýPopUpManagerÀàÀ´ÊµÏÖµ¯³öд°¿Ú£º
ÏÈÉèÖúÃÒªµ¯³ö´°¿ÚµÄÒ³Ã棬ȻºóÔÚÖ÷´°¿ÚÖÐÏÈnew³öµ¯³ö´°¿ÚµÄ¶ÔÏó£¬È»ºó¿ÉÒÔ¶Ôµ¯³ö´°¿ÚµÄÊôÐÔ½øÐÐ
¸³Öµ£¬
      var genggai : GengGaiWindow = new GengGaiWindow();
      genggai.logId = adg.selectedItem.id;
      ʹÓÃPopUpManagerÀàÖеÄÒÔÏÂÁ½¸ö·½·¨µ¯³ö´°¿Ú£º
     PopUpManager.addPopUp(genggai,this);
      PopUpManager.centerPopUp(genggai);
      ʹÓÃPopUpManagerÀàÖÐÒÔÏ·½·¨¹Ø±ÕÒѵ¯³öµÄ´°¿Ú£ºPopUpManager.removePopUp(this);
 
 
 
2.Ò³ÃæÌøת——¶àÊÓͼÇл»
FlexÓ¦ÓÃÖУ¬¿ÉÒÔʵÏÖÒÀ¾ÝÓû§µÄ²»Í¬ÐèÇó½øÐв¹Í¬ÊÓͼ¼äµÄÇл»£¬´Ë¹ý³ÌÖÐÖ»ÓÐÒ»¸öÊÓͼ±»ÏÔʾÔÚ¶¥²ã
£¬ÆäËûÊÓͼÒԶѵþµÄÐÎʽ±»Òþ²Ø¡£ÕâÒ»¹¦ÄÜÊÇͬ¹ýViewStackÈÝÆ÷ʵÏֵġ£ ViewStack°üº¬µÄÈÝÆ÷¶¼ÊÇÒ»
¸öÊÓͼ£¬ÊÓͼ¼äµÄÇл»ÒªÍ¨¹ýÆäËû×é¼þ»ò±àдActionScriptÀ´ÊµÏÖ¡£
ÔÚ±¾ÀýÖУ¬<mx:ViewStack >±êǩϵÄÊÓͼ£º
       <mx:Canvas id=“View1”>    ÊÓͼView1    </mx:Canvas>
     <mx:Canvas id=“View1”>    ÊÓͼView2    </mx:Canvas>
     ÊÓͼ¼äÇл»£ºviewstack1.selectedChild=View2;
 
 
 
3.Flex·ÃÎÊ·þÎñ¶ËµÄjavaÓ¦ÓÃ
»ùÓÚLCDSµÄFlexÓ¦ÓÃ×îÇ¿´óµÄ¹¦ÄܾÍÊÇÄܹ»Ö±½Óͨ¹ýLCDSµ÷Ó÷þÎñ¶ËµÄjava´úÂ루ͨ¹ýʹÓÃRemoting·þÎñ
µÄ·½Ê½£©£º
     ʹÓÃʱ½«ºó¶ËµÄjavaÀàÔÚremoting-config.xmlÅäÖÃÎļþµ±ÖÐÃèÊö£¬È»ºóͨ¹ýFlex½«ÅäÖÃÎļþÖеıð
Ãûµ±×÷Ô¶³Ì¶ÔÏó½øÐе÷Óá£ÅäÖÃÎļþ£º
      <destination id="UserService">
           <properties>  <source>service.UserService</source>   </properties>
      </destination>
      Ò³ÃæÖÐͨ¹ýÒÔϱêÇ©Ìæ´úÖ±½ÓÖ»ÓÃÀà¿âµ÷ÓÃÔ¶³Ì¶


Ïà¹ØÎĵµ£º

Flex ×ÖÌåʹÓÃ

½ñÌìÔÚ°ÑÍ濪ԴµÄflexϵͳºÍ¿Ø¼þʱÅöµ½ÁË×ÖÌå²»ÄܱàÒëµÄÎÊÌ⣬ËùÒÔ¶Ô×ÖÌå½øÐÐÁ˽ÏΪÉîÈëµÄÑо¿¡£
Flex Ö§³ÖµÄTrue TypeºÍOpen TypeÀàÐ͵Ä×ÖÌå
½²ÏÂËûÃÇÖ®¼äµÄÇø±ð
TrueType ×ÖÌå¿Éµ÷Õûµ½ÈÎÒâ´óС£¬²¢ÇÒÔÚËùÓдóСÇé¿öÏ£¬¶¼ÊÇÇåÎú¿É¶ÁµÄ¡£¿ÉÒÔ½«ËüÃÇ·¢Ë͸ø Windows Ö§³ÖµÄÈκδòÓ¡»ú»òÆäËûÊä³öÉ豸¡£
OpenType ×ÖÌåÓë T ......

FlexÍÏק CanvasÈÝÆ÷ÀïÍ϶¯Box


2009-02-18
ËõÂÔÏÔʾ
FlexÍÏק-CanvasÈÝÆ÷ÀïÍ϶¯Box
ÎÄÕ·ÖÀà:WebÇ°¶Ë¹Ø¼ü×Ö: flex, flexÍÏק, canvas, box
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.core. ......

flex ºÍjavascript»¥Ïàµ÷ÓÃ

flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
  Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
  call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
  Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
  È磺
    ExternalInterface.call("alert","hello");
   "hello"¾ÍÊÇ×÷Ϊalertµ ......

FlexºÍsliverlightµÄδÀ´Ö®Â·

flex Ôڳɳ¤µÄ¹ý³ÌÖÐÀú¾­²×É££¬µ«ÊÇʼÖÕÀë²»¿ªflashÔÚºǫ́×öºó¶Ü£¬ËûµÄºǫ́´úÂëÊÇActionscirp   µ«ÊÇsliverlightµÄºǫ́´úÂëÊÇ.net µÄ¼¼Êõ ËùÒÔ˵slilverlightѧµÄʱºò£¬Ö»ÒªÄã»á.net¾Í¿ÉÒԷdz£¿ìµÄÉÏÊÖ£¬flex ÄãÒÔǰѧ¹ýflash¡£ÄãÒ²¿ÉÒԺܿìÉÏÊÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ