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

¹ØÓÚflexµÄcrossdomain.xmlÎļþ´æ·ÅĿ¼

       ×î½üÔÚÏîÄ¿ÖÐÓöµ½flex¿çÓò·ÃÎʵݲȫɳÏäÎÊÌ⣬²é×ÊÁÏÁ˽⵽ÐèÒªÔÚ·þÎñ¶Ë¼ÓÉÏcrossdomain.xmlÎļþ£¬¼´£º
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*"/>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
       µ«¶ÔÓÚ¾ßÌå´æ·ÅÔÚweb·þÎñµÄÄǸöĿ¼Ï£¬Ò»Ö±À§»ó²»ÒÑ£¬×îÖÕ·¢ÏÖÔÚÒ»°ãÇé¿öÏÂ(ÔÚ´ËÒÔ·þÎñÆ÷ΪtomcatΪÀý˵Ã÷)´æ·ÅÔÚ
webapps/ROOT/ Ï£¬¼´ËùνµÄ¸ùĿ¼£¬ÇÒƲ¿ªÕâÌõ¹æÔò£¬Ò»ÑÔÒÔ±ÎÖ®£¨ËùÓÐÇé¿ö¶¼Í¨Óã©£ºÖ»ÒªÄã¿ÉÒÔͨ¹ý
http://127.0.0.1:8080/crossdomain.xml·ÃÎʵ½¸Ãxml ¾Í¿ÉÒÔÁË¡£


Ïà¹ØÎĵµ£º

gloox xmlµÄ½âÎöÄ£¿é

gloox×Ô¼ºÊµÏÖÁËxmlµÄ½âÎöÄ£¿é£¬Ã»ÓÐÓõ½µÚÈý·½µÄ¿â(tinyXML£¬expat )
Ö÷ÒªÉæ¼°µÄÎļþ:
tag.h (tag.cpp)
taghandler.h
parser.h (parser.cpp)
1. TagÒ»¸öTag¾ÍÊÇÒ»¸öXMLÔªËØ
ÀýÈç:
a.
<book kind='computer'>
<store id='23'/>
<author>
    qiang
</author>
</bo ......

XMLÈëÃŵij£¼ûÎÊÌâ(ËÄ)

ÔÚ XML ¶ÔÏóÄ£ÐÍÖÐÈçºÎ´¦Àí¿Õ°××Ö·û£¿
¡¡¡¡ÓÐЩʱºò£¬XML ¶ÔÏóÄ£Ðͽ«ÏÔʾ°üº¬¿Õ°××Ö·ûµÄ TEXT ½Úµã¡£¿Õ°××Ö·û±»½Ø¶Ïºó£¬¶à°ë»á´øÀ´Ò»Ð©»ìÂÒ¡£ÀýÈçÏÂÃæµÄ XML Àý×Ó£º
 ¡¡¡¡]>
¡¡¡¡Smith
¡¡¡¡John
 
¡¡¡¡Éú³ÉÏÂÁÐÊ÷£º
 ¡¡¡¡Processing Instruction: xml
¡¡¡¡DocType: person
¡¡¡¡ELEMENT: person ......

flex ±Ê¼Ç£¨¸üÐÂÖС£¡£¡£¡££©

1¡¢Èç¹ûÒªÉèÖÃValidatorÑéÖ¤×é¼þÀïÃæÌáʾ×ֵĴóС£¬¿ÉÒÔÔÚmxmlÖмÓÈë
    <mx:Style>
<!--[CDATA[
.errorTip
{
fontSize: 12;
}
]]-->
</mx:Style>
2¡¢ÉèÖÃtooltipÖеÄÑùʽ£¨Èç×ÖÌå´óС£¬ÑÕÉ«£©¿ÉÔÚmxmlÖеÄcreationCompleteµÄinitApp()¼ÓÈë
    ......

Flex TypeError: Error #1034: ÀàÐÍת»»Ê§°Ü

TypeError: Error #1034: 強ÖÆÐÍ変換¤Ëʧ敗¤·¤Þ¤·¤¿¡£jp.co.nec.necst.pi.ap2web::TestEvent@1645ee79 ¤ò jp.co.nec.necst.pi.ap2web.TestEvent ¤Ë変換¤Ç¤­¤Þ¤»¤ó¡£
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispat ......

FlexÓ¦ÓóÌÐòÉúÃüÖÜÆÚ

FlexÓ¦ÓõĸùÊÇSystemManger£¬ËüÊÇflash.display.MovieClipµÄ×ÓÀ࣬һ¸öFlash PlayerÏÔʾ¶ÔÏóÀàÐÍ¡£SystemManagerÓÐÁ½¸öÖ¡£¬µÚÒ»Ö¡ÊÇÓÃÀ´ÏÔʾӦÓÃÔØÈëµÄ½ø¶Èָʾ£¬Õâ¸öÖ¡ÊÇÇáÁ¿µÄ£¬ËùÒÔËü¼¸ºõÄÜÁ¢¼´ÏÂÔغÍÔËÐС£µÚ¶þÖ¡±ãÊÇÓ¦Óñ¾Éí¡£µ±Ò»¸öFlexÓ¦ÓõÄSystemManagerʵÀý½øÈëµ½µÚ¶þÖ¡£¬Ëü´´½¨Ò»¸öÖ÷Ó¦ÓõÄʵÀý¡£SystemManager ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ