ÈçºÎÔÚFlex »ò ActionScriptÖдò¿ªWORD Doc
Adobe Flash Builder 4 ¼òÌåÖÐÎÄÕýʽ°æ ÏÂÔØ:
http://subject.csdn.net/adobedownload/index.html
ʹÓÃÏà¹ØµÄÓò£¬ÀûÓÃAdobe Livecycle Designer´´½¨Ò»¸öPDFÄ£×飬ÒÔXML½ÚµÄÃû³Æ£¨ÓëPDFÄ£×éÖеÄÓòµÄÃû³ÆÆ¥Å䣩ÏòPDFÔ¶³Ì¶ÔÏó·¢ËÍXMLÊý¾Ý£¬È»ºóÄúµÄFlexÓ¦ÓóÌÐò¾Í»á´ò¿ªPDF, »ò½«PDFÎļþ·ÅÈëÄúµÄwebserverÉÏ£¬Ê¹ÓÃurlµ÷Óá£Ö®ºó£¬Í¬ÑùµÄ¹ý³Ì»á±»Öظ´¡£µ«ÊÇÈçºÎÔÚÒ»¸öFlex Ó¦ÓóÌÐòÖдò¿ªword doc£¿
ÔÚAIRÖУ¬Ö»Òª´´½¨Ò»¸ö´ÓÓû§±¾µØÎļþϵͳÖнøÐе÷ÓõÄURLRequest¡£Ô´ÂëÈçÏ£º
1.
public
function
clickButton
()
:
void
{
2.
var
request
:
URLRequest
=
new
URLRequest
(
'
C:
\\
documents
\\
test.doc
'
)
;
3.
navigateToURL
(
request
)
4.
}
ÒòΪFlexÓ¦ÓóÌÐò¿ÉÒÔÓëjavascriptºÍjavascript¹µÍ¨£¬´´½¨Ò»¸öMicrosoft Word¶ÔÏ󣬲ÉÓÃÈçÏ´úÂ룺
1.
var
oApplication
=
new
ActiveXObject
(
"
Word.Application
"
)
;
2.
oApplication
.
Documents
.
Open
(
"
wordFileName
"
)
;
ÎļþÃû¿ÉÒÔ´ÓFlex´«µÝ³öÈ¥£¬Ê¹ÓÃÍⲿ½Ó¿Ú¡£Õâ¶ÔÎÒÃǴ󲿷ÖÈËÀ´Ëµ¿ÉÄÜÊÇÒ»¸ö½â¾ö·½°¸¡£
´ËÍ⣬ÎÒÔø¾³£×ÅʹÓÃask google ÕÒµ½ÆäËü½â¾ö·½°¸¡£ÏÂÃæ¾ÍÊÇÀ´×Ônabble.comµÄÒ»¶ÎÎÄ×Ö¡£
²»ÐÒ£¡
Flex
Îļþ±»±àÒë³ÉSWFs£¬¶øSWFÉõÖÁ²»ÄÜÉÏÔØHTMLÎļþ£¬¸ü²»ÓÃ˵word»òexcel¡£
ÎÒ²»ÈÏΪAdobe»á¿¼ÂÇÄÇô×ö£¡ÖÁÉÙ²»»áʹÓÃFlash Player 10¡£
µ«ÊÇ
http://issuu.com/jackzhang1204/docs/word_test
Ëƺõ¿ÉÒÔÓÐЧÉÏÔØword doc¡£
֮ǰÌÖÂÛÁËÒ»¸öÀàËƵÄÎÊÌ⣬¾ÍÊÇ´ò¿ªEXCEL±í¸ñ£¬²¢ÇÒÕë¶ÔOWCµÄʹÓÃ̽ÌÖÁË¿ÉÄܵĽâ¾ö·½°¸¡£ÒòΪûÓжÔÉÏÊö½â¾ö·½°¸Ìṩ¸ü¶àϸ½Ú£¬ÎÒ²»ÖªµÀÊÇ·ñʹÓÃÁËOWC£¬»òWord Parser»òÆäËü£¬²»¹ÜÔõô˵£¬Ëü¶¼²»ÊÇÒ»¸ö·Ç½â¾ö·½°¸µÄÎÊÌ⣬Èç¹ûÄúÓÐÈκν¨Ò飬ÇëÁôÑÔ¡£
±¾ÎÄÀ´×Ô£ºhttp://ntt.cc/2010/03/28/how-to-open-word-doc-in-flex-or-actionscript.html
Ïà¹ØÎĵµ£º
ÕâÀï·ÖÁ½ÖÖÇé¿ö£¬Ò»ÖÖÊÇÊý¾ÝÔ´ÔÚMXMLÎļþÖУ¬È磺
<mx:XML id="treeXML"
format="e4x">
<root>
<node label="֪ͨͨ¸æ¹ÜÀí"
data="0">
......
1.Ç°¶ËflexµÄ¶ÔÏóºÍjava¶ËµÄ¶ÔÏóÃû×ÖÒªÒ»Ö£¬java¶ËµÄ¶ÔÏó±ØÐëÐòÁл¯£¬·ñÔòÎÞ·¨±»flex¶Ëµ÷ÓÃת»¯
javaºǫ́´«»ØµÄlistÀï±ßµÄ¶ÔÏ󣬱ØÐëflex¶ËÒ²Óд˶ÔÏ󣬶øÇÒÁ½¸ö¶ÔÏóµÄÊôÐÔÒªÒ»Ö£¬·ñÔò£¬²»Äܻص÷
2.»Øµ÷º¯Êý²»Æð×÷Óã¬ÓпÉÄÜÊÇÒòΪ»Øµ÷º¯ÊýÃû×ÖÒýÆðµÄ
flex´Ójava¶ËÈ¡¶à¸ölist·â×°µÄ¶ÔÏóʱ£¬¶Ô¸÷¸ödatagridÒªÓÃÊý¾Ý° ......
flexÈýÖÖÁ¬¼¶·½Ê½:
ÄÚÁª£º<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="var codetxt:Text=new Text">
</mx:Application>
¼¶Áª£º<mx:Application xmlns:mx="http: ......
BlazeDS + Hibernet + Flex ¿ª·¢WebÓ¦ÓÃ
ÍøÉÏÓйØÓÚ¼¯³ÉBlazeDSºÍFlexµÄʾÀý£¬µ«ÊǴ󲿷ֶ¼Êǽ«¿Í»§¶ËºÍ·þÎñÆ÷´úÂë·ÅÖõ½Ò»¸öÏîÄ¿£¬ÕâÖÖ·½Ê½Ê¹ÎÒÃÇÔÚ±àÂëʱÈÝÒײúÉú»ìÏý£¬²¢ÇÒÒ²²»ÀûÓÚ´óµÄÏîÄ¿µÄ¿ª·¢Óë¹ÜÀí¡£ÏÂÃæͨ¹ýÒ»¸ö¼òµ¥µÄÀý×ÓÑÝʾһÏ£¬½¨Á¢¿Í»§¶ËºÍ·þÎñÆ÷¶Ë·ÖÀëµÄ£¬·þÎñÆ÷¶Ë²ÉÓÃHibernet+BlazeDSµÄFlex WebÏîÄ¿¡£Ï£ ......
ÓÃAccordion×é¼þµÄʱºò·¢ÏÖ,childÕ¹¿ªÖ®ºóÔÙµã»÷µÄʱºòûÓÐÏàÓ¦.
È»ºóÏ°¹ßÐÔµÄGoogle·¢ÏÖ½â¾ö·½·¨´óÖÂÊÇ×Ô¶¨ÒåÒ»¸ö×é¼þ...
¸Ð¾õΪÁËÒ»¸öС¹¦ÄÜÖØдÓеã ɱ¼¦ÓÃÅ£µ¶µÄ¸Ð¾õ.
ÓÚÊÇ×ÐϸÏëÁËÏÂ,·¢ÏÖÆäʵֻÐèÒªÖ¸¶¨headerµÄitemRenderer¼´¿É:
ÉÏ´úÂë headerRenderer="com.MyAccHeader"
MyAccHeader:
package com
{
......