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

Àí½â flex component

component¾ÍÊÇÒ»¸öAS class »òÕßÊÇMXML componentÎļþÔÚmanifestÎļþÖÐÓ³ÉäµÄ±êÇ©.·Ö¿ÉÊӺͲ»¿ÉÊÓ
¿ÉÊÓ»¯component°üÀ¨Containers ºÍ UI controls
Containers(Appliction, Panel...)
UI controls(Button, Label)
¿ÉÒÔͨ¹ý3ÖÖ·½Ê½ÉèÖÃcomponentµÄÊôÐÔ
1.tag attributers
Java´úÂë
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">   
</mx:Application>  
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
</mx:Application>
ÖеÄlayout="absolute"
2.nested tags
Java´úÂë
<mx:Button id="exampleButton">   
  <mx:label>Example Button</mx:label>   
</mx:Button>  
<mx:Button id="exampleButton">
<mx:label>Example Button</mx:label>
</mx:Button>
¸üµäÐ͵ÄÓ¦ÓÃ
Java´úÂë
<mx:ComboBox id="exampleComboBox">   
  <mx:dataProvider>   
    <mx:ArrayCollection>   
      <mx:String>A</mx:String>   
      <mx:String>B</mx:String>   
      <mx:String>C</mx:String>   
      <mx:String>D</mx:String>   
    </mx:ArrayCollection>   
  </mx:dataProvider>   
</mx:ComboBox>  
<mx:ComboBox id="exampleComboBox">
<mx:dataProvider>
<mx:ArrayCollection>
<mx:String>A</mx:String>
<mx:String>B</mx:String>
<mx:String>C</mx:String>
<mx:String>D</mx:String>
</mx:ArrayCollection>
</mx:dataProvider>
</mx:ComboBox>
3.AS ;)
¼¸ºõËùÓеÄcomponent(ËùÓеĿÉÊÓ»¯component)¶¼ÓÐidÊôÐÔ...(Âð¶«¶«Ã»ÓÐÄØ?),id ÓÉÊý×Ö


Ïà¹ØÎĵµ£º

flex ÊÕ¼¯µÄ×ÊÔ´£¨×ªÌû£©

±¾Ìùת×Ô£ºhttp://wufenggang.spaces.live.com/String/
APIs¡¢Libs¡¢Components
1¡¢as3ebaylib
http://code.google.com/p/as3ebaylib/
2¡¢as3youtubelib
http://code.google.com/p/as3youtubelib/
3¡¢as3flickrlib
http://code.google.com/p/as3flickrlib/
4¡¢Yahoo ASTRA Flash Components
http://developer.yaho ......

How to get html text in a Flex Alert panel.

A client asked me to do something seemingly simple.
"I want the Alert to have just this one sentence bolded."
Well, it's not exactly simple, so here's how you do it:
there are two solutions as below :
import mx.core.IUITextField;
use namespace mx.core.mx_internal;
   message +="Press ......

flex µ¹¼ÆÊ± Program niche


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Style source="skin/yflexskin.css" />
    <mx:Script>
        <! ......

FLEXÄÚ´æÓÅ»¯¼¼Çɼ¯ºÏ

FLEXÄÚ´æÊÍ·ÅÓÅ»¯Ô­Ôò
1. ±»É¾³ý¶ÔÏóÔÚÍⲿµÄËùÓÐÒýÓÃÒ»¶¨Òª±»É¾³ý¸É¾»²ÅÄܱ»ÏµÍ³µ±³ÉÀ¬»ø»ØÊÕ´¦Àíµô£»
2. ¸¸¶ÔÏóÄÚ²¿µÄ×Ó¶ÔÏó±»ÍⲿÆäËû¶ÔÏóÒýÓÃÁË£¬»áµ¼Ö´Ë×Ó¶ÔÏ󲻻ᱻɾ³ý£¬×Ó¶ÔÏ󲻻ᱻɾ³ýÓֻᵼÖÂÁ˸¸¶ÔÏ󲻻ᱻɾ³ý£»
3. Èç¹ûÒ»¸ö¶ÔÏóÖÐÒýÓÃÁËÍⲿ¶ÔÏ󣬵±×Ô¼º±»É¾³ý»òÕß²»ÐèҪʹÓôËÒýÓöÔÏóʱ£¬Ò»¶¨Òª¼ÇµÃ° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ