¾³£»áÉè¼ÆÒ»¸öÕâÑùµÄ¹¦ÄÜ£¬±ÈÈç¸ü¸Ä¸öÐÔÍ·Ïñ£¬Õâ¸ö¸öÐÔÍ·Ïñ×îÖÕÐèÒªÉÏ´«µ½·þÎñÆ÷µÄÎļþϵͳÖУ¬µ«ÊdzÌÐòÏ£ÍûÔÚÓû§Ñ¡ÔñºóÖ±½ÓÓиöÔ¤ÀÀ£¬È»ºóÓû§²Å½øÐÐÉÏ´«¡£Õâ¸ö¹¦Äܼ¼ÊõÉÏÆäʵ¾ÍÊÇÐèÒª¶Ô±¾µØµÄÎļþÄܽøÐжÁÈ¡¡£ÔÚflash player10ÖÐÓиöÀàFileReferenceµÄÀà¿ÉÒÔʵÏÖÕâ¸ö¹¦ÄÜ£¬¶øʵÏÖ¶ÔÎļþ¶ÁÈ¡µÄ½Ó¿ÚÊÇload( )º¯Êý£¬Òª×¢ÒâµÄÊÇ: a¡¢Õâ¸öº¯ÊýÖ»ÄÜÔÚUI²Ù×÷ÖÐʹÓ㬱ÈÈçÓû§°´Ï°´Å¥¡£b¡¢¼ÓÔؽøÀ´ºóµÄ±¾µØÎļþÎÞ·¨ÔÚASÖÐʹÓà c¡¢Õâ¸ö½Ó¿ÚÊÇÒ»¸öÒì²½µÄ¹ý³Ì£¬Ò²¾Í²»ÊÇÂíÉϾͼÓÔؽøÀ´£¬ÐèÒª¼ÓListenerÀ´²Ù×÷¡£ÏÂÃæÊDzο¼´úÂë
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import flash.net.FileReference;
import flash.net.FileFilter;
import flash.events.IOErrorEvent;
import ......
1¡¢Ê¹ÓÃnavigateToURL£¬Ö÷Òª·½Ê½ÈçÏ£ºvar url:String = "http://localhost:8080/Flex_J2eeDemo/bin/Welcome.html";
var request:URLRequest = new URLRequest(url);
navigateToURL(request,"_blank");
......
¡¶Flex SDK 4(Gumbo)dzÎöASDoc - Flash Builder 4ÅäÖÃƪ¡·½éÉÜÁËÈçºÎÔÚFlash Builder 4ÀïÃæÅäÖá¢ÔËÐÐASDoc¡£
±¾ÆªÎÄÕ½éÉÜһЩ±È½Ï³£ÓõÄASDoc Tags£¬Ö»ÓиãÇå³þÁËÈçºÎʹÓÃASDoc Tags²ÅÄÜÈÃÎÒÃÇÉú³ÉһЩÎÒÃÇÏëÒªµÄASDocÎĵµ¡£
ÎÒÔÚÕâÀïÖ»ÁоÙÁËһЩ±È½Ï³£ÓõÄASDoc Tags£º
@param paramName description
Ϊº¯ÊýµÄ²ÎÊýÌí¼Ó×¢ÊÍ£¬Èç¹ûÓжà¸ö²ÎÊý£¬ÔòдÈë¶à¸ö@param¼´¿É¡£
ÀýÈ磺@param scaleX ´«ÈëxÖá·½ÏòµÄ·Å´óÂÊ
@private
Êä³öʱ»á±»ÅųýµÄÔªËØ¡££¨¼´ASDoc²»»á½âÎöºÍÏÔʾ°üº¬@privateµÄÄÚÈÝ£©
@return description
Ϊº¯ÊýµÄ·µ»ØÖµÌí¼ÓÃèÊöÐÅÏ¢¡£
ÀýÈ磺@return ÀÛ¼ÓµÄÖµ
@see reference [displayText]
ÓÃ@see±êÇ©¿ÉÒÔÔö¼Ó²åÈ둲μû¸ü¶à’µÄÒ»¸öÁ´½Ó¡£
ÏêϸÇë¿´£ºhttp://livedocs.adobe.com/flex/gumbo/html/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-7ff8.html
×¢Ò⣺@see±êÇ©Öв»ÄÜ°üº¬HTML¸ñʽ»¯×Ö·û¡£
ÀýÈ磺@see com.rianote.flex.kui.component.LinkLabel
@default value
ij¸ö±äÁ¿µÄĬÈÏÖµ
ÀýÈ磺
@default false
@default 0xffffff
@example exampleText
ÔÚÖ¸¶¨Î»ÖõÄÍ·²¿Ìí¼Ó¿É×Ô¶¨ÒåÑùʽÊôÐԵĴúÂëʵÀý  ......
×î½üÓöµ½ÁËflex µÄ°²È«É³ÏäÎÊÌ⣬ÕÒÁ˺ܶà×ÊÁÏ·¢ÏÖ²»ÊǶ¼ÊǺÍÎÒ£¬ÎҵijÌÐòÐèÒªsocketÁ¬½Ó£¬¶ø´ó¶àÊý½²µÄ¶¼ÊÇ¿çÓòÎļþ¶ÁÈ¡µÄ¡£ÎÒÏÈ°ÑÁ½ÖÖ·½·¨¶¼×ܽá³öÀ´£º
¿çÓòÎļþ¶ÁÈ¡
·½·¨Ò»£ºÔÚÄ¿±ê·þÎñÆ÷Éϲ¼Êðcrossdomain.xmlÎļþ(ÎÒÓõĴ˷½·¨ºÜ¹ÜÓ㬷ÅÉϾÍûÎÊÌâÁË) ÐèÒªÔ¶³Ì·þÎñ¸ùĿ¼¶¨ÒåÓÐcrossdomain.xmlÎļþ£¬ÈçÏ£º
<?xml version="1.0" encoding="UTF-8" ?> <cross-domain-policy> <allow-access-from domain="*"/> </cross-domain-policy>
·½·¨¶þ£ºÊ¹ÓôúÀí£¬°ÑFlexÒª·ÃÎʵÄÔ¶³ÌÎļþͨ¹ýasp, php, jspµÈ½Å±¾¶ÁÈ¡µ½±¾µØ£¬È»ºóÔÙÓÉFlexÈ¥·ÃÎÊ£»
·½·¨Èý£ºÊ¹ÓÃAdobe flash player 9 ´ò¿ª³ÌÐòºó£¬µã»÷²Ëµ¥À¸ÖÐÎļþ->´´½¨²¥·ÅÆ÷...¼´Éú³ÉexeÎļþ£¬ÔËÐÐexeÎļþ¼´¿ÉÍ»ÆÆ°²È«ÏÞÖÆ£»
·½·¨ËÄ£º 1¡¢ÕÒµ½Õâ¸öÎļþ¼Ð£ºc:\Documents and Settings\<UserName>\Application Data\Macromedia\Flash Player\#Security 2¡¢ÔÚÆäϽ¨Á¢Ò»¸öÃûΪ"FlashPlayerTrust"µÄÎļþ¼Ð 3¡¢ÔÚ"FlashPlayerTrust"Îļþ¼ ......
Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý
Ò»Ö±ÏëÊÔÑéÓýṹÌå´«Êý¾Ý
µ«ÊÇFlex ºÍC++ µÄÀàÐÍËùÕ¼µÄ×Ö½ÚÊýÓÐʱ²»Ò»Ñù
Èçint ÔÚC++ÖÐÕ¾2¸ö×Ö½Ú£¬¶øÔÚFlexÖÐÕ¼4¸ö×Ö½Ú¡£
ת»»±È½ÏÂé·³¡£
×îºó¾ö¶¨ÓÃXML½øÐд«Êä
È»ºóÁ½±ß¶¼¼ÓÒ»¸öXML ½âÎöºÍ·â×°Àà¡£
C++ ¶ËʹÓõÄtinyXML Àà
FlexÖ±½ÓʹÓÃ×Ô¼º´øµÄ E4X Àà
Flex´úÂëÈçÏÂ
var xmlstr:String="<COMMAND>";
var xmlList:XMLList=new XMLList();
xmlstr+="SENDRIQI";
xmlstr+="</COMMAND>"
var xmldoc:XMLDocument=new XMLDocument(xmlstr);
var xml:XML=new XML(xmldoc);
socket.writeMultiB ......
Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý
Ò»Ö±ÏëÊÔÑéÓýṹÌå´«Êý¾Ý
µ«ÊÇFlex ºÍC++ µÄÀàÐÍËùÕ¼µÄ×Ö½ÚÊýÓÐʱ²»Ò»Ñù
Èçint ÔÚC++ÖÐÕ¾2¸ö×Ö½Ú£¬¶øÔÚFlexÖÐÕ¼4¸ö×Ö½Ú¡£
ת»»±È½ÏÂé·³¡£
×îºó¾ö¶¨ÓÃXML½øÐд«Êä
È»ºóÁ½±ß¶¼¼ÓÒ»¸öXML ½âÎöºÍ·â×°Àà¡£
C++ ¶ËʹÓõÄtinyXML Àà
FlexÖ±½ÓʹÓÃ×Ô¼º´øµÄ E4X Àà
Flex´úÂëÈçÏÂ
var xmlstr:String="<COMMAND>";
var xmlList:XMLList=new XMLList();
xmlstr+="SENDRIQI";
xmlstr+="</COMMAND>"
var xmldoc:XMLDocument=new XMLDocument(xmlstr);
var xml:XML=new XML(xmldoc);
socket.writeMultiB ......
Flex ºÍC++ Ö®¼ä´«Êä½á¹¹ÌåÊý¾Ý
Ò»Ö±ÏëÊÔÑéÓýṹÌå´«Êý¾Ý
µ«ÊÇFlex ºÍC++ µÄÀàÐÍËùÕ¼µÄ×Ö½ÚÊýÓÐʱ²»Ò»Ñù
Èçint ÔÚC++ÖÐÕ¾2¸ö×Ö½Ú£¬¶øÔÚFlexÖÐÕ¼4¸ö×Ö½Ú¡£
ת»»±È½ÏÂé·³¡£
×îºó¾ö¶¨ÓÃXML½øÐд«Êä
È»ºóÁ½±ß¶¼¼ÓÒ»¸öXML ½âÎöºÍ·â×°Àà¡£
C++ ¶ËʹÓõÄtinyXML Àà
FlexÖ±½ÓʹÓÃ×Ô¼º´øµÄ E4X Àà
Flex´úÂëÈçÏÂ
var xmlstr:String="<COMMAND>";
var xmlList:XMLList=new XMLList();
xmlstr+="SENDRIQI";
xmlstr+="</COMMAND>"
var xmldoc:XMLDocument=new XMLDocument(xmlstr);
var xml:XML=new XML(xmldoc);
socket.writeMultiB ......
http://www.cnblogs.com/beniao/archive/2009/01/12/1373921.html
ÎÞ·¨ÔËÐÐÈçÉϲ©¿ÍµÄ´úÂ룬ÓÚÊÇ×Ô¼ºµ½ÍøÉÏÕÒ×ÊÁÏ
·¢ÏÖÔÚhttp://hi.baidu.com/littlelaa/blog/item/bdea73f2382289a6a50f5241.html
¹Ø¼üÊÇC#ÖÐREADLINEÕâ¸ö·½·¨ÎÞ·¨ÔÚÈýÃëÄÚ¶ÁÈ¡£¬ÒòΪ½áβûÓÐ/N /RµÈ×Ö·û¡£
C#¶Ë
using System;
using System.Net.Sockets;
using System.IO;
using System.Net;
using System.Text;
namespace socketWin
{
class Program
{
static void Main(string[] args)
{
TcpListener listener = null;
TcpListener listener2 = null;
string strXml = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><cross-domain-policy><allow-access-from domain=\"*\" to-ports=\"*\"/></cross-domain-policy>\0";
try
{
Int32 port = 5000;
IPAddress localAddr = IPAddress.Parse("127.0.0.1");
listener = new TcpListener(localAddr, port);
int port843 = 843;
listen ......