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

Flexµ÷ÓÃÔ¶³ÌXMLÊý¾Ý

Ê×ÏÈÒªÓÐÒ»¸ö¼òÒ׵ķþÎñÆ÷£¬½¨Á¢Ò»¸öÕ¾µã£¬È»ºóÕ¾µãÏ´æ·Å 
1£ºcrossdomain.xml Õâ¸öÊÇ¿çÓëÓò²ßÂÔÎļþ£¬ÓÃÓÚÖ¸¶¨Óòͨ¹ýFlash
Player·ÃÎʱ¾ÓòµÄ×ÊÔ´(Èç¹û·þÎñÆ÷ÔÚ±¾»ú¾ÍûÓÐÕâ¸ö±ØÒª)µ«ÊÇÔ¶³ÌµÄ»°¾ÍÒª(½¨ÒéÒª)
ÎļþÄÚÈÝ£º
<cross-domain-policy>
  <allow-access-from domain="*" />
</cross-domain-policy>
*ÊÇÖ¸ËùÓеÄÓòͨ¹ý Flash Player¶¼¿ÉÒÔ·ÃÎʱ¾ÓòµÄ×ÊÔ´¡£
2£ºÓÉÓÚÕâ¸öÊÇ×öÓû§µÇ½µÄ£¬ËùÒÔÒªÓÐÒ»¸ölogin.xml¹©ÍâÃæ·ÃÎÊ¡£µ±È»Ãû×Ö¿ÉÒÔËæ±ãÆð¡£
XmlµÄÄÚÈݲο´Í¼Æ¬¡£
´úÂëÒÔ¼°½âÊÍÈçÏÂ
<mx:HTTPService
id="loginRPC" url="http://localhost/login.xml"
result="loginRPCResult(event)"/>
url£º
Ô¶³ÌxmlÎļþµÄurl
Result£º½ÓÊÕ
loginRPCResult(event) ·µ»ØµÄ½á¹û
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
      backgroundGradientAlphas="[1.0, 1.0]"
      backgroundGradientColors="[#04D99F,
#09B9FA]"
      themeColor="#F8FBFD"
verticalAlign="middle" creationComplete="loginRPC.send()">
creationComplete£º³õʼ»°½çÃæʱ´¥·¢£¬loginRPC.send()ÏòÄ¿±ê·þÎñ
Æ÷Ìá³öÇëÇó²¢½ÓÊÕÊý¾Ý¡£
 
<mx:Script>
            <![CDATA[
                 
import mx.rpc.events.ResultEvent;
                 
import mx.collections.ArrayCollection;
                  import mx.controls.Alert;
 
                  [Bindable]
                 
private var loginsList


Ïà¹ØÎĵµ£º

FlexÓë.NET»¥²Ù×÷(Ò»)£º»ùÓÚSocketµÄÍøÂçÁ¬½Ó

http://www.cnblogs.com/beniao/archive/2009/01/12/1373921.html
127.0.0.1ÊÇ»ØË͵ØÖ·£¬Ö¸±¾µØ»ú£¬Ò»°ãÓÃÀ´²âÊÔʹÓ᣻ØË͵ØÖ·£¨127.x.x.x£©ÊDZ¾»ú»ØË͵ØÖ·£¨Loopback Address£©,¼´Ö÷»úIP¶ÑÕ»ÄÚ²¿µÄIPµØÖ·£¬Ö÷ÒªÓÃÓÚÍøÂçÈí¼þ²âÊÔÒÔ¼°±¾µØ»ú½ø³Ì¼äͨÐÅ£¬ÎÞÂÛʲô³ÌÐò£¬Ò»µ©Ê¹ÓûØË͵ØÖ··¢ËÍÊý¾Ý£¬Ð­ÒéÈí¼þÁ¢¼´·µ»ØÖ®£¬²»½ø ......

ÔõôÓÃXML´«ËÍͼÏñÊý¾Ý

DelphiÖÐÓÐÒ»¸öEncdDecdµ¥Ôª,uses   Ëü,ÒÔϵĺ¯Êý³ö×ÔÕâ¸öµ¥Ôª  
   
  1.ÓÃTBitmap¶ÔÏóLoadͼƬ  
    TBitmap.LoadfromFile  
  2.°ÑTBitmap´æÈëÒ»¸öStreamÖÐ    
TBitmap.SaveToStream(mapStream)  
  3.°ÑͼƬÁ÷½øÐÐbase64±àÂë,É ......

FlexÉèÖÃä¯ÀÀÆ÷±êÌâ

ÔÚFlexÏÂÉèÖÃÒ³Ãæä¯ÀÀÆ÷±êÌâTitle¹¤ÓÐÁ½ÖÖ·½Ê½£º
1£¨ÍƼö´Ë·½·¨£©.ÀûÓÃBrowserManagerÀàÉèÖÃTitle£º
BrowserManager.getInstance().setTitle("***ÐÅϢϵͳ");
¿ÉÒÔ½«ÉÏÃæÒ»ÐдúÂëдÔÚϵͳµÄ³õʼ»¯º¯ÊýÖÐ
2.ÔÚApllicaaction±êÇ©ÏÂÉèÖÃpageTitleÊôÐÔ£º
  <mx:Application xmlns:mx="http://www.adobe.com/ ......

flexͨ¹ýblazedsÓëjavaʵÏÖÔöɾ¸Ä²é

ÓõÄÊÇMySQLÊý¾Ý¿â¡£
1£¬½¨Ò»¸öuserdb¿â£¬ÔÙ½¨userinfo±í£¬×ֶΣºid(int),username(varchar),password(varchar)¡£
create database userdb;
use userdb;
create table userinfo(
id int(10) not null auto_increment,
username varchar(20),
password varchar(20),
primary key(id));
2£¬DBConnection.jav ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ