Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÍøÒ³´«µÝ²ÎÊýµ½flexÖеķ½·¨

1.ÔÚ<Object>ºÍ<embed>ÖÐÉèÖÃflashVars²ÎÊý
£¬ÀýÈ磺
<object
id=’mySwf’ classid=’clsid:D27CDB6E-AE6D-11cf-96B8-444553540000′
codebase=’http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab’
height=’100%’ width=’100%’>
        <param name=’src’ value=’FlashVarTest.swf’/>
        <param name=’flashVars’ value=’firstName=Nick&lastName=Danger’/>
       
<embed name=’mySwf’ src=’FlashVarTest.swf’
pluginspage=’http://www.adobe.com/go/getflashplayer’ height=’100%’
width=’100%’ flashVars=’firstName=Nick&lastName=Danger’/>
<embed src=’TitleTest.mxml.swf?myName=Danger’ … />  
</object>
2.»òÕßÔÚ<Object>ºÍ<embed>ÖеÄsrcÊôÐÔÖÐÖ±½Ó¼Ó²ÎÊý
£¬ÀýÈ磺
<object … >
    <param name=’src’ value=’TitleTest.mxml.swf?
’firstName=Nick&lastName=Danger
’>
    …
    <embed src=’TitleTest.mxml.swf?
’firstName=Nick&lastName=Danger
’ … />
</object>
3.
Ð޸ļÓÔØflashµÄhtmlÒ³Ã棬ÕÒµ½µÚ¶þ¸öAC_FL_RunContent ÖеĴúÂëÄÚÈÝ£¬´úÂëÈçÏÂ
AC_FL_RunContent(
"
src
"

"
${swf}
"
,
"
width
"

"
${width}
"
,
"
height
"

"
${height}
"
,
"
align
"

"
middle
"
,
"
id
"

"
${application}
"
,
"
quality
"

"
high
"
,
"
bgcolor
"

"
${bgcolor}
"
,
"
name
"

"
${application}
"
,
&


Ïà¹ØÎĵµ£º

ÓÃFLEXʵÏÖÆÁÄ»¿ìÕÕ¼°ÏÂÔØ AND EXCEL

ÓÃ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 ......

Flex ¼¯ºÏ(ArrayCollection)

¹Ø¼ü×Ö: flex, arraycollection
¼¯ºÏÊÇActionScript Öй¦ÄÜÇ¿´óµÄ»ùÓÚË÷ÒýµÄÊý×é×é¼þ£¬Ìí¼ÓÁËÈç¶ÔÄÚÈݽøÐÐÅÅÐòµÈ¹¦ÄÜ£¬
²Ù×÷Êý×éµÄ¶ÁȡλÖ㬴´½¨¾­¹ýÅÅÐòµÄÊý×éÊÓͼ¡£¼¯ºÏÒ²ÄÜ֪ͨÆäÈÎÒâʼþ¼àÌýÆ÷¼àÌýÆäÊý
¾ÝÊÇ·ñ¸Ä±ä£¬ÒÔ¼°ÈκÎÊý¾ÝÏî±»Ìí¼Óµ½Ô´Êý×éʱ¿ÉÖ´ÐÐ×Ô¶¨ÒåÂß¼­¡£µ±Êý¾Ý¸Ä±äʱ¿É֪ͨÆä
¼àÌýÆ÷£¬ÕâÊǼ¯ºÏµÄй ......

Flex ¶Ô¼¯ºÏµÄ¶à¸ö×ֶνøÐÐÅÅÐò

Flex ¶Ô¼¯ºÏµÄ¶à¸ö×ֶνøÐÐÅÅÐò
¹Ø¼ü×Ö: flex, ÅÅÐò, ÈÕÆÚÅÅÐò
ÒòΪÊý×é¿É±»¶à¸öSortFields ÅÅÐò£¬Sort ¶ÔÏóµÄfields ÊôÐÔ¾ÍÊÇÒ»¸öÊý×é¡£ÕâЩsort ´´½¨Ò»
¸ö²ã¼¶µÄ½á¹¹£¬ËùÓжÔÏó½øÐзÖ×éÅÅÐò£¬Ïȸù¾Ýfield ÊôÐÔÀïµÄµÚÒ»¸öSortField ¶ÔÏó£¬ÔÙµÚ
Ò»¸ö£¬ÒÔ´ËÀàÍÆ¡£Õâ¸öÀý×Ó´úÂëÏȸù¾Ýregions ÔÙstates ¶Ô¼¯ºÏ½øÐÐÅÅÐò£º ......

Flex Builder 3 ÏÂtrace() ²»Êä³öµÄÎÊÌâ

Flex Builder 3 ÏÂtrace() ²»Êä³öµÄÎÊÌâ
ÏÂÃæ¸ø³ö¼òµ¥µÄ´úÂ루main.mxml£©£º
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Button label="Test Trace" click="test()"/>
<mx:Script>
<!--[CDATA[
......

flex sessionÏà¹Ø²Ù×÷

1.д session
mxml Îļþ ¼Ó
   <mx:RemoteObject source="servlet" id="sessionObject" />  
as ÎļþÓÃÏÂÃæÓï¾äµ÷ÓÃ
   sessionObject.session("set", "foo", 30200);
2.¶Á session
mxml Îļþ ¼Ó
   <mx:RemoteObject source="servlet" id="sessionObject1" res ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ