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="
Ïà¹ØÎĵµ£º
ÒªÔÚFlexµÄDataGridÀïÌí¼ÓÐòºÅÁУ¬´óÌåÉÏÓÐÁ½ÖÖ·½·¨£º
ÉèÖÃDataGridColumnµÄlabelFunction¡£
Æä´óÖµÄ˼·ÊÇ£¬»ñÈ¡µ½µ±Ç°DataGridµÄdataProvider¼°µ±Ç°ÐеÄdata£¬µ÷ÓÃgetItemIndex·½·¨»ñÈ¡µ½µ±Ç°µÄÐеÄÐòºÅ¡£
¾ßÌå¿É²Î¿¼ http://wmcai.blog.163.com/blog/static/480242008111115724283/¡£ÕâÖÖ·½·¨±È½ÏÖ±¹Û£¬Ò²ºÜÈÝÒ ......
ÓÃFLEXʵÏÖÆÁÄ»¿ìÕÕ¼°ÏÂÔØ
Flex/Flash, Flex2, Flex3 GgNET 01ÔÂ 31st. 2008, 2:53am
ÕâÖÖ·½Ê½£¬ÔÚ·þÎñÆ÷¶Ë²»»áÔÚ´ÅÅÌÉÏÉú³ÉͼƬ
FLEX´úÂë
public function printMap():void{
var en:JPEGEncoder = new JPEGEncoder(100); //ѹËõͼƬ£¬100ÊÇÖ¸ÖÊÁ¿
var ba:ByteArray=en.encode(ImageSnapshot.captureBitmapData(thi ......
http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂ鷳Ĩ
FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø
document.body.oncopy = func ......
flex ºÍjavascript»¥Ïàµ÷Óá£
Ò»¡¢flex µ÷ÓÃjavascript
Ö»ÐèʹÓþ²Ì¬µÄExternalInterface.call¾Í¿ÉÒÔÁË¡£
call ·½·¨ÖÁÉÙÒªÇóÒ»¸ö²ÎÊý£¬¾ÍËùµ÷ÓöÊýµÄÃû³Æ¡£
Ò²¿ÉÒÔ´«µÝ²ÎÊý¡£
È磺
ExternalInterface.call("alert","hello");
"hello"¾ÍÊÇ×÷Ϊalertµ ......