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

flex ʼþÖ®Àí½â


      
Ê×ÏÈ£¬ÉêÃ÷±¾ÎÄÊÇתÔØ
http://blog.csdn.net/ivanmarkliu/archive/2009/07/08/4327570.aspx
£¬´ó¼Ò¿ÉÒÔ·ÃÎʸÃÁ´½Ó£¬Ò²¿ÉÒÔÖ±½ÓÔĶÁ±¾ÎĺóÐø²¿·ÖÒÔÁ˽â
flex
ʼþ¡£½ÓÏÂÀ´¼òµ¥Ì¸ÏÂΪºÎҪתÔØ´ËÎļ°±¾È˶ԴËÎĵÄһЩ²¹³ä¡£
      
¿ÉÒÔÕâÑù˵
flex
ÊÇʼþÇý¶¯µÄ£¬ÊìÁ·ÕÆÎÕʼþ¶ÔÓÚÌá¸ß
flex
¿ª·¢Ë®Æ½ÊÇÖÁ¹ØÖØÒªµÄ£¬
flex
µÄ¾­µä°ó¶¨»úÖƾÍÊÇ»ùÓÚ
event
¡£ÍøÉ϶ÔÓÚ
flex event
µÄ½éÉܺܶ࣬ÆäÖв»·¦¹Ù·½µÄ
e
ÎÄ£¬µ«ÊDZ¾È˾õµÃ±¾×ªÔØÖ®ÎĶÔÓÚʼþµÄºËÐēʼþ´«²¥”½²½âµÄÊDZȽÏͨË×Ò׶®µÄ£¬ÇÒÓÐ
demo
£¬Ö»ÒªÔËÐÐ
demo
¼´ÄÜÀí½â´ó¸Å¡£Òò´Ë±¾ÈËÈÏΪ½áºÏ´ËתÔØƪ£¬ÔÙÁ˽âÏÂʼþÅÉ·¢µÄÒ»¸ö½è¿Ú
IEventDispatcher
ºÍ»ùÀà
EventDispatcher
£¬ÔÙÊìϤÏÂ×Ô¶¨Òå
event
±ã¿ÉÊìÁ·ÕÆÎÕ
flex event
ÁË¡£
   
ÔÚתÔØÕýÎÄ֮ǰ£¬ÏȲ¹³äʼþ´«²¥µÄ
3
¸ö½×¶ÎÖµ£¬Ê¹´ó¼Ò¸üÒ×Àí½â¡£
   
EventPhase.CAPTURING_PHASE: 1
£¬

²¶»ñ½×¶Î
EventPhase.AT_TARGET: 2
£¬Ä¿±ê½×¶Î
EventPhase.BUBBLING_PHASE: 3
£¬Ã°Åݽ׶Î
 
 
///////////////////////////////////////////////
תÔØÕýÎÄ
/////////////////////////////////////////////////
1.
×î¼òµ¥µÄʼþ
ÒÔÏ´úÂ룺
  
1:

xml

version
="1.0"
encoding
="utf-8"?>
  
2:

<
mx:Application

xmlns:mx
="http://www.adobe.com/2006/mxml"
  
3:
                
layout
="absolute">
  
4:
    
<
mx:Script
>
  
5:
        
[CDATA[
  
6:
            
import flash.events.MouseEvent;
  
7:
            
import mx.controls.Alert;
  
8:
 
   
9:
          &nb


Ïà¹ØÎĵµ£º

Flex ´øÑéÖ¤ÂëµÄµÇ½ҳÃæ


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()">
 <mx:states>
  <mx:State name="index">
   <mx:RemoveChild target="{loginPanel}"/>
  ......

flexÖб³¾°Í¼Æ¬Æ½ÆÌ


flexÖб³¾°Í¼Æ¬Æ½ÆÌ
ÎÒÃÇÐèÒªÒ»¸ö degrafa µÄ×é¼þ 
ÒѾ­ÉÏ´«ºÃÁË.
È»ºó°ÑÏÂÔصÄswc·Åµ½ÏîÄ¿µÄlibsÖÐ
ÔÚÒ³ÃæcssÖÖÕâÑùд¾Í¿ÉÒÔÁË
Application {   
    background-image:   Embed("assets/images/the_image_goes_here.png");
    background-r ......

ÓÃFlexµ÷ÓÃSWF²é¿´PDF

  ÓÐʱºòһЩ×ÊÁÏÖ»Äܸø±ðÈË¿´£¬Èç¿É´òÓ¡µÄÎĵµÈçDOC£¬PDF£¬µ«²»ÄÜÈÃÆäËûÎÞȨÏÞµÄÈËÁí´æ»òÕß´òÓ¡£¬ÌرðÊÇweb°æµÄÎļþ¹ÜÀíÀàµÄϵͳ£¬×ܻῼÂǵ½Õâ¸öÎÊÌâ¡£µ±ÓÃIEÖ±½Ó´ò¿ªpdfµÄʱºò£¬¾¡¹Ü¿ÉÒÔÆ£±ÖIEµÄÁí´æΪ£¬µ«Êǵã»÷PDFÎļþµÄʱºò£¬ÔÙ°´F8µÄʱºò£¬PDFµÄÔĶÁÆ÷È磨adobereader£©»áÏÔʾToolsBar£¬ËùÒÔÖ±½Ó´ò¿ªpdfòËÆÐв ......

Flex Builder 3 ÏÂÔØ°²×°Óë×¢²áÂë

Flex Builder 3 Õýʽ°æ£¬·¢²¼ÓÚÖйúʱ¼ä 2008 Äê 2 Ô 25 ÈÕ£»
ÏÂÔصØÖ·Ò»£º
http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe
´óС£º 424 MB £»Î´½øÐÐѹËõµÄ Flex Builder 3 °²×°Îļþ
²»ÓÃ×¢²áµÇ¼£¬¿ÉÒÔÖ±½ÓÏÂÔØ¡£
ÏÂÔصØÖ·¶þ£º
http://trials.adobe.com/Applications/.../FB3_WWEJ.exe
´óС£º¡ ......

flex ÍÏק£¬Ö¸¶¨ÍÏק´úÀí£¬ÓÉÒ»¸öÈÝÆ÷ÍϷŵ½ÁíÒ»¸öÀï

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal">
<mx:Script>
<![CDATA[
import mx.core.BitmapAsset;
import mx.core.DragSource;
import mx.events.DragEvent;
import mx.managers.DragManager;
private var xoffset:Number;
private var yoffset:Number;
priv ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ