12¸ö¼òµ¥Ò×ÓõÄflexº¯Êý
1.¿½±´ÄÚÈݵ½¼ôÌù°å£º
System
.
setClipboard
(
strContent)
;
2.¿Ë¡һ¸ö ArrayCollection £º
var
bar:
ArrayCollection = new
ArrayCollection(
)
;
for
each
(
var
i:
Object
in
ac )
{
bar.
addItem(
i )
;
}
var
bar:
ListCollectionView =
new
ListCollectionView(
ListCollectionView(
ac )
.
list )
;
3.´ò¿ª URL µØÖ·£º
navigateToURL
(
new
URLRequest
(
'http://ntt.cc'
)
,
'_blank'
)
;
4.Page reload:
navigateToURL
(
new
URLRequest
(
"javascript:location.reload();"
)
,
"_self"
)
;
5.¹Ø±Õä¯ÀÀÆ÷£º
navigateToURL
(
new
URLRequest
(
"javascript:window.close()"
)
,
"_self"
)
;
6.µÃµ½±³¾°Í¸Ã÷µÄ Alert ´°¿Ú£º
Alert
{
modalTransparency:
0.0
;
modalTransparencyBlur:
0
;
}
7.ÉèÖÃËæ»úÑÕÉ«£º
lbl.
setStyle
(
'color'
,
0xffffff*
Math
.
random
(
)
)
;
8.È¥³ý×Ö·û´®×ó²à¿Õ¸ñ£º
public
function
LTrim(
s :
String
)
:
String
{
var
i :
Number
= 0
;
while
(
s.
charCodeAt
(
i)
== 32 ||
s.
charCodeAt
(
i)
== 13
||
s.
charCodeAt
(
i)
== 10 ||
s.
charCodeAt
(
i)
== 9)
{
i++;
}
return
s.
substring
(
i,
s.
length
)
;
}
9.È¥³ý×Ö·û´®Óұ߿ոñ£º
public
function
RTrim(
s :
String
)
:
String
{
var
i :
Number
= s.
length
-
1
;
while
(
s.
charCodeAt
(
i)
== 32 ||
s.
charCodeAt
(
i)
== 13
||
s.
charCodeAt
(
i)
== 10 ||
s.
charCodeAt
(
i)
== 9)
{
i--;
}
re
Ïà¹ØÎĵµ£º
µÇ½ҳÃæ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import flash.net.navigateToURL;
private function setCookie():void{
&nb ......
Flex
ÊÇÒ»¸ö¿ªÔ´µÄÓ¦Óÿª·¢¿ò¼Ü£¬ÓÃÀ´¹¹½¨ÔËÐÐÔÚweb£¨Ê¹Óà Flash Player£©»òÕß×ÀÃæÉÏ£¨Ê¹ÓÃAdobe
AIR£©µÄ¸»InternetÓ¦Óá£AdobeµÄFlex¿ª·¢ÕßÖÐÐÄÓÐһƪÎÄÕÂÌÖÂÛÁ˹ØÓÚFlexÐÔÄܵÄ×î¼Ñʵ¼ù£¬°üÀ¨ÁËÈÝÆ÷µÄʹÓÃϸ½Ú£ºFlex×î´óµÄ
ÐÔÄÜ·çÏÕÀ´×ÔÓÚ¶ÔÈÝÆ÷µÄÀÄÓá£ÔÚAdobe FlexÖÐÓдóÁ¿¿ÉÑ¡µÄÌØÐÔ£¬ÄãÓ¦¸Ã¿¼ÂÇÔÚÄãµÄÓ¦ÓÃÖÐʹÓÃËüà ......
Ç°ÑÔ
C/C++µÄ¿ª·¢£¬ÄÚ´æµÄ¹ÜÀíÊÇÊ®·ÖÖØÒªµÄ¿ÎÌ⣬·ÖÅäÄÚ´æʹÓúóÒª¼°Ê±ÊÍ·Å£¬·ñÔòÄÚ´æй©µ¼ÖÂÄÚ´æºÄ¾¡¡£½øÈëÍйܻ·¾³ºó£¬ÄÚ´æÄܹ»×Ô¶¯¹ÜÀíºÍ»ØÊÕ£¬ÒѾ²»Óÿª·¢ÕßÌ«²ÙÐÄÄÚ´æ¹ÜÀí·½ÃæµÄÎÊÌâÁË£¬ÔÚÍйܻ·¾³£¬¿ª·¢ÕßÈÔÈ»¿ÉÒÔ×öһЩ¹¤×÷£¬ÌṩÄÚ´æ»ØÊÕµÄЧÂÊ£¬ÀýÈ磬°ÑÀàÄÚ²¿µÄÒýÓöÔÏóÉèÖÃΪnullÊÇ×î»ù±¾µÄ¡£½è¼øÔÚ.net»·¾³ ......
Ç°ÑÔ
Undo£¬RedoÊDZ༻·¾³Àï³£¼ûµÄ²¢Çҷdz£ÖØÒªµÄ¹¦ÄÜ£¬ÏÂÃæ½éÉÜ¡¾ÃüÁîģʽ¡¿ÔÚFlex/AS3ϵÄʵÏÖ¡£
ICommand½Ó¿Ú
¶¨ÒåICommand½Ó¿Ú£¬ÆäÖÐExecuteºÍUnExecuteÊÇÏà·´µÄ2¸ö²Ù×÷£¬TitleÊôÐÔÓÃÓÚÃüÁîÏÔʾ£¬ÀýÈçÏÔʾÔÚ²Ù×÷ÀúÊ·ÁбíÀï¡£
package cwn.wb.ui.core.command
{
import cwn.core.IDi ......
Ò»¡¢Flex
Remoting
1.Channel definition,
mx.messaging.channels.RTMPChannel, can not be
found...£º×îаæµÄFluorinedÔÚservices-config.xmlÖÐÐÂÔöÁËRTMP Channel£¬Ö÷ÒªÊÇÓÃÀ´Åä ÖÃFlex
Messaging£¬±àÒëʱÐèÒªFDS.swcÖ§³Ö£¬µ±È»Èç¹û²»ÐèÒª´Ë¹¦ÄÜ¿ÉÒÔ×¢Ê͵ôchannel-definitionÕâ¸ö½Úµã¡£
2.RPC
Fault fault ......