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

Flexѧϰ£¨Ò»£©

½øÈëÄêÄ©£¬ÏîÄ¿Ò²¿ª·¢µÃ²î²»¶àÁË£¬Ö»ÊÇż¶ûÐèÒª³ö²î°²×°ÎÒÃÇϵͳ£¬µ±È»³ö²îÊÇÄÐÈËÃǵÄÊ£¬Ò²¾Í²»»áÈÃÎÒ³ö²îÁË£¬Òò¶ø×î½üʱ¼ä±È½Ï³äÔ££¬¾Í½è´Ë»ú»áѧϰÁËÒ»ÏÂFlex¡£¸Õ¿ªÊ¼Ñ§£¬ÊǸù¾ÝFlex3ȨÍþÖ¸ÄϵÄÊÓƵ½Ì³ÌÀ´µÄ£¬µÚÒ»½²Ñ§ÍêÁË£¬¸Ð¾õ»¹±È½ÏÈÝÒ×£¬µÚ¶þ½²Ò»Ö±Ã»ÏÂÏÂÀ´£¬ËùÒÔÏȶԵÚÒ»½²Ñ§µÄ×ö¸ö±Ê¼Ç¡£
Ò»¡¢Ð½¨¹¤³Ì£ºFile——> New——>Flex Project——>Next ——>Finish
¶þ¡¢Ð½¨.mxmlÎļþ£º ÓÒ¼ü——>New——>MXML Application
¾ßÌå´úÂëÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:states>
<mx:State name="CartView">
<mx:SetProperty target="{products}" name="width" value="0"/>
<mx:SetProperty target="{products}" name="height" value="0"/>
<mx:SetProperty target="{CartBox}" name="width" value="100%"/>
<mx:AddChild relativeTo="{CartBox}" position="lastChild">
<mx:LinkButton label="Continue Shopping" click="this.currentState=''" id="linkbutton2"/>
</mx:AddChild>
<mx:RemoveChild target="{linkbutton1}"/>
<mx:AddChild relativeTo="{linkbutton2}" position="before">
<mx:DataGrid width="100%">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="col1"/>
<mx:DataGridColumn headerText="Column 2" dataField="col2"/>
<mx:DataGridColumn headerText="Column 3" dataField="col3"/>
</mx:columns>
</mx:DataGrid>
</mx:AddChild>
</mx:State>
</mx:states>
<mx:ApplicationControlBar x="117" y="41" dock="true" height="90">
<mx:Canvas width="100%" height="100%">
<mx:Label x="0" y="0" text="Flex"/>
<mx:Label x="0" y="41" text="Grocer"/>
<mx:Button y="10" label="View Cart" id="btnViewCart" right="10"/>
<mx:Button y="10" label="Check Out" id="btnCheckOut" right="90"/>
</mx:Canvas>


Ïà¹ØÎĵµ£º

flex ²Ù×÷xml ʵÏÖÔöɾ¸Ä²é

Ïêϸ½éÉÜFlexÖвÙ×÷XML(ÉÏ)
2009Äê12ÔÂ30ÈÕ ÐÇÆÚÈý 12:05
Ò» ÔÚ½éÉÜFlexÖвÙ×÷XML֮ǰ£¬Ê×Ïȼòµ¥½éÉÜÏÂXMLÖеĻù±¾ÊõÓï¡£   
ÔªËØ£ºXMLÖÐÓµÓпªÊ¼±êÇ©ºÍ½áÊø±êÇ©µÄÕâÒ»¿é³ÆΪ“ÔªËØ”   
½Úµã£º°ÑXMLÔªËØÓëÎı¾½áºÏÆðÀ´Í³³ÆΪ½Úµã   
¸ù½Úµã£ºÎ»ÓÚÕû¸öXMLÎÄ ......

flexÎļþÏÂÔØ

1flex¶Ë
<mx:Button label="ÏÂ ÔØ" click="download()"/>
//ÏÂÔØ
  public function download():void{
   var str:String=this.uploadfiles.selectedIndex.toString();
   if(str=="-1"){
    Alert.show("ÇëÑ¡ÖÐÒªÏÂÔصÄÎļþ");
  &n ......

FlexµÄsocketÓëjavaʹÓÃamf3½øÐÐͨÐÅ

amf3,adobe´´Á¢µÄÊý¾Ý¸ñʽÓÉÓÚʹÓöþ½øÖÆ,ûÓÐÁËxmlµÈÈßÓàµÄ×Ö·ûÊý¾ÝÁ¿»áÉٺܶà!¶øÇҺܶà²âÊÔ±¨¸æ¾ù²â³öamf´«µÝЧ¹ûºÜ¸ß.
Õâ´ÎÊÇʹÓÃFlexµÄSocketÀàÓëjavaµÄ·þÎñ¶Ë½øÐÐͨÐÅ,
²½ÖèÊÇ:
¿Í»§¶ËÓÃsocketÀàÁ¬½Ójava·þÎñÆ÷,
ʹÓòéѯ×Ö·û´®½øÐÐÇëÇó,
java½«Êý¾Ý·âװΪhashmap,×îºó½«hashmapÓÃamfoutputstreamÊä³öÖÁflexµÄ¿Í» ......

ÓÐÓõÄFlex Builder¿ì½Ý¼ü

AdobeÔÚ¿ª·¢Flex×îÓÐÀûµÄ¹¤¾ß¾ÍÊÇFlex Builder£¬È»¶ø£¬¹¤ÓûÉÆÆäÊ£¬±ØÏÈÀûÆä"¼ü"£¬¿ìËÙ¼ü¶ÔÒ»°ã¿ª·¢ÕßÀ´Ëµ¶¼·Ç³£ÓÐÓ㬷ǵ«Èç´Ë£¬ºÜ¶à¿ìËÙ¼üÓë×éºÏ¼üÊÇ»áÓëÆäËûÈíÌå»òϵͳ¶¼ÓÐÀ×֮ͬ´¦£¬¾Ù¸öÀý×ÓÀ´Ëµ£¬Ctrl + C¾ÍÊǸ´ÖÆ£¬Ctrl + V¾ÍÊÇÌùÉÏ£¬¿´¿´Ðí¶à×÷ҵϵͳÓë±à¼­ÈíÌåÊDz»ÊǶ¼Ò»ÑùÄØ£¿ÈôÄãÓÐ×¢Òâµ½¾Í»á²»ÄÑ·¢ÏÖ£¬ÆäʵFlex ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ