FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
http://blog.csdn.net/shuiying/archive/2009/08/19/4459419.aspx ØâÓÚ
DELPHI C#´«µÝºÜ¼òµ¥ Õâ¸öÔõôÔõôÂé·³ÄØ
FlexÖд°Ìå²ÎÊý´«µÝ·½·¨
ÊÕ²Ø
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text");
if (text && text.length > 300) {
text = text + "\r\n\n±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£º" + location.href;
clipboardData.setData("text", text);
}
}, 100);
}
}
1. µ÷Óô°Ìå
A ´°ÌåÊÇÒ»¸öapplicaton´°Ìå B
´°ÌåÊÇ×Ô¶¨Òå´°Ì壨ÀàËÆDialogÖ®ÀàµÄ´°Ì壬±¾Éí²¢²»ÄܶÀÁ¢ÔËÐУ©
A ´°Ìå Ƭ¶Ï´úÂëÈçÏ£º
view
plain
copy
to clipboard
print
?
<
mx:Script
>
<!--[CDATA[
import mx.containers.TitleWindow;
import mx.managers.PopUpManager;
function ShowDetailDialog(){
var oInitObj:Object
=
new
Object();
oInitObj.title
=
"FX-Blog Details"
;
oInitObj.width
=
400
;
oInitObj.height
=
480
;
oInitObj.x
=
350
;
oInitObj.mainApp
=
this
;
oInitObj.strDetailTitle
=
"aaa"
;
oInitObj.strDetailDetails
=
"bbb"
;
var DetailsDialogInstance:Object
=
Tit
Ïà¹ØÎĵµ£º
//»ñµÃÆÁÄ»µÄ·Ö±æÂÊ
var
x:Number=Capabilities.screenResolutionX;
var
y:Number=Capabilities.screenResolutionY;
Alert.show(
"x="
+x+
"y="
+y);
µÚ¶þÖÖ·½·¨
Alert.show(stage.fullScreenWidth+
"=="
+stage.fullScreenHeight);
//»ñµÃstage£¨¹¤×÷Çø£ ......
flexºÍC++·þÎñÆ÷ͨÐÅ¡£ÒòΪ°²È«É³Â©ÎÊÌ⣬µ±swfλÓÚA·þÎñÆ÷£¬C++·þÎñÆ÷³ÌÐòλÓÚB·þÎñÆ÷ʱ¡£
ÕâʱswfºÍB·þÎñÆ÷½¨Á¢Socket½¨Á¢Á¬½Ó»á²úÉú¿çÓòÎÊÌâ¡£
½â¾ö·½·¨ÈçÏÂ
swf½¨Á¢socketʱ»áÏÈ·¢ÆðÒ»¸öÇëÇó¿çÓòÎļþµÄÇëÇó:"<policy-file-request/>"
·þÎñÆ÷½ÓÊÕµ½ºó·¢ËÍ×Ö·û´®
<?xml version="1.0"?>
<cross-doma ......
½ñÌìÔÚ°ÑÍ濪ԴµÄflexϵͳºÍ¿Ø¼þʱÅöµ½ÁË×ÖÌå²»ÄܱàÒëµÄÎÊÌ⣬ËùÒÔ¶Ô×ÖÌå½øÐÐÁ˽ÏΪÉîÈëµÄÑо¿¡£
Flex Ö§³ÖµÄTrue TypeºÍOpen TypeÀàÐ͵Ä×ÖÌå
½²ÏÂËûÃÇÖ®¼äµÄÇø±ð
TrueType ×ÖÌå¿Éµ÷Õûµ½ÈÎÒâ´óС£¬²¢ÇÒÔÚËùÓдóСÇé¿öÏ£¬¶¼ÊÇÇåÎú¿É¶ÁµÄ¡£¿ÉÒÔ½«ËüÃÇ·¢Ë͸ø Windows Ö§³ÖµÄÈκδòÓ¡»ú»òÆäËûÊä³öÉ豸¡£
OpenType ×ÖÌåÓë T ......
¹Ø¼ü×Ö: flex, ÍÏקº¯Êý
Flex×é¼þÄÚÖÃÁË´¦ÀíÍÏקʼþµÄ½Ó¿Ú£¬ÓÐЩ¿Ø¼þÒѾʵÏÖÁËÍÏק¹¦ÄÜ£¬±ÈÈçList¡¢DataGrid¡¢Menu¡¢TileList¡¢Tree£¬ÔÚÉèÖÃÏà¹ØµÄÍÏקÊôÐÔºó£¬ËüÃǶ¼¿ÉÒÔÔÚÏàͬÀàÐ͵Ä×é¼þÖ®¼äÀûÓÃÊó±êÀ´ÊµÏÖÊý¾ÝµÄתÒÆ¡£
allowDragSelection ÊÇ·ñ¿ÉÒÔÍÏÑ¡
&n ......
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 ......