flex ³¬Á´½ÓµÄʵÏÖ
ת£ºhttp://hi.baidu.com/qinpanke/blog/item/39745a834df933a50cf4d2fc.html
********************************************************************************************************
Ò»Çж¼ÔÚ´úÂëÖУ¬ÎÞÐè¶àÑÔ¡£ÐèҪעÒâµÄÊÇ£º
'_self'´ú±íÔÚ±¾´°¿ÚÖдò¿ª
'_blank'´ú±íÔÚºǫ́д°¿ÚÖдò¿ª
********************************************************************************************************
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()"
layout="absolute"
width="278"
height="244">
<mx:Script>
<![CDATA[
internal function initApp():void{
var str:String = "<a target='_blank' href='http://hi.baidu.com/173000/'>µã»÷³¬¼¶Á´½Ó</a>";
link.htmlText = str;
}
internal function openUrl():void{
navigateToURL(new URLRequest("http://hi.baidu.com/173000/"), "_blank");
}
]]>
</mx:Script>
<mx:Button x="72" y="117" label="µã»÷³¬¼¶Á´½Ó" fontSize="13" id="link2" click="openUrl()"/>
<mx:Text id="link" text="xcopy" x="72" y="47" fontSize="13"/>
</mx:Application>
ÁíÍâÒ»¸öÀý×Ó£º
<mx:LinkButton label="***"
click="
Ïà¹ØÎĵµ£º
»·¾³£ºeclipse 3.5 + tomcat 6.0 + flex builder 3.0 + blazeds-turnkey-3.2.0.3978.zip£¨adobeÍøÕ¾ÉÏÏÂÔØ£©
(ÒòΪ²»ÄܷŽØÍ¼ËùÒÔÖ»ÄÜÐðÊöÁË)
1£¬Ð½¨Ò»¸ö
java web
ÏîÄ¿ ÀýÃûΪ :testjava;
2,Ôڴ˹¤³ÌÖÐдһ¸ö¼òµ¥µÄÀà:
package cn.com;
  ......
½ñÌìÔÚ°ÑÍæ¿ªÔ´µÄflexϵͳºÍ¿Ø¼þʱÅöµ½ÁË×ÖÌå²»ÄܱàÒëµÄÎÊÌ⣬ËùÒÔ¶Ô×ÖÌå½øÐÐÁ˽ÏΪÉîÈëµÄÑо¿¡£
Flex Ö§³ÖµÄTrue TypeºÍOpen TypeÀàÐ͵Ä×ÖÌå
½²ÏÂËûÃÇÖ®¼äµÄÇø±ð
TrueType ×ÖÌå¿Éµ÷Õûµ½ÈÎÒâ´óС£¬²¢ÇÒÔÚËùÓдóСÇé¿öÏ£¬¶¼ÊÇÇåÎú¿É¶ÁµÄ¡£¿ÉÒÔ½«ËüÃÇ·¢Ë͸ø Windows Ö§³ÖµÄÈκδòÓ¡»ú»òÆäËûÊä³öÉ豸¡£
OpenType ×ÖÌåÓë T ......
FlexÍÏ×§-Á½¸öListÖ®¼äÍÏ×§
¹Ø¼ü×Ö: flexÍÏ×§, list
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="creationHandler();">
<mx:Script>
<![CDATA[
import mx.events.DragEvent;
imp ......
flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
È磺
ExternalInterface.call("alert","hello");
"hello"¾ÍÊÇ×÷Ϊalertµ ......
flex Ôڳɳ¤µÄ¹ý³ÌÖÐÀú¾²×É££¬µ«ÊÇʼÖÕÀë²»¿ªflashÔÚºǫ́×öºó¶Ü£¬ËûµÄºǫ́´úÂëÊÇActionscirp µ«ÊÇsliverlightµÄºǫ́´úÂëÊÇ.net µÄ¼¼Êõ ËùÒÔ˵slilverlightѧµÄʱºò£¬Ö»ÒªÄã»á.net¾Í¿ÉÒԷdz£¿ìµÄÉÏÊÖ£¬flex ÄãÒÔǰѧ¹ýflash¡£ÄãÒ²¿ÉÒԺܿìÉÏÊÖ ......