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

µÇ½£¬Ìøµ½Ö÷Ò³Ã棨FLEX£©

µÇ½ҳÃæ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" >
<mx:Script>
 <![CDATA[
  import mx.messaging.messages.HTTPRequestMessage;
  import mx.rpc.http.HTTPService;
  import mx.controls.Alert;
 
  private function loginuser():void{
   if(txtuse.text == "admin" && txtpsw.text == "admin"){
    var u:URLRequest = new URLRequest("http://www.busycode.com/Hellos.swf?UserName="+txtuse.text+"&&Password="+txtpsw.text);
    u.method = "GET";
          navigateToURL(u,"_parent");
   }
  }
 ]]>
</mx:Script>
 <mx:Label x="243" y="162" text="username"/>
 <mx:Label x="243" y="205" text="password"/>
 <mx:TextInput x="313" y="160" id="txtuse"/>
 <mx:TextInput x="313" y="203" id="txtpsw" displayAsPassword="true"/>
 <mx:Button x="348" y="338" label="Login"  click="loginuser()"/>
</mx:Application>
Ö÷Ò³Ãæ £¨±ØÐëÒªÉÏ´«µ½·þÎñÆ÷£©
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="getUserName()">
 <mx:Script>
  <![CDATA[
   import mx.controls.Alert; 
 
   private function getUserName():void{
    var username: String = "UserName";
    var password:String = "Password";
    lblUsername.text = this.parameters[username];
    lblpassword.text = this.parameters[password];
   }
  ]]>
 </mx:Script>
 <mx:Label x="183" y="206" text="UserName" width="106" id="lblUser" />
 <mx:Label x="330" y="206" text="Label" width="84" id="lblUsername"/>
 <mx:Label x="183" y="283" text="Passwrod"


Ïà¹ØÎĵµ£º

flexÓÒ¼üµ¯³ö²Ëµ¥£¨demo£©

¹¤³ÌϵÄhistoryÎļþ¼ÐÏ´æ·ÅÈý¸öÎļþ£ºindex.template.html£¬rightClick.js,swfobject.js
srcÎļþ¼ÐÏ´æ·ÅCustomContextMenu.mxmlÎļþ¡£
1.CustomContextMenu.mxml£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
 applicati ......

flex .net½»»¥

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
<mx:Script>
  <![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private function onSuccess(evt:Re ......

FlexµÄ¶¯»­Ð§¹ûÓë±ä»»

ÔÚFlexÀïÃæ²»ÏñÔÚFlashÀïÃæËæÒâÖÆ×÷¶¯»­ÁË£¬Flex¸üÇ÷ÏòÓÚÓ¦ÓóÌÐò£¬¶ø²»ÊǶ¯»­ÖÆ×÷ÁË£¬ËùÒÔûÓÐÁËʱ¼äÖáµÄ¸ÅÄî¡£ÔÚFlexÖÐʹÓö¯»­Ð§¹û£¬¿ÉÒÔÓÃFlex×Ô´øµÄEffect£¬»òÕß×ÔÒѶ¨ÖÆEffect£¬ÒòΪºÜ¶àÈ˶¼Ïë½èFlashÀïÃæµÄÒ»Ñù²Ù×÷Flex£¬±ÈÈçÔÚFlashÀïÃæ×öÒ»¸ö¶¯Ì¬°´Å¥ºÜÈÝÒ×£¬µ±Êó±êÒƶ¯µ½ÉÏÃæʱ£¬»áÓкܶ෢¹âµÄµãÅܳöÀ´£¨Ó«»ð³æÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ