<br />
<b>Warning</b>:  Undefined array key "HTTP_ACCEPT_LANGUAGE" in <b>/www/wwwroot/01xj.net/wp-content/plugins/wp-ue/main.php</b> on line <b>13</b><br />
{"id":233,"date":"2012-01-03T07:16:33","date_gmt":"2012-01-03T07:16:33","guid":{"rendered":"http:\/\/www.01xj.net\/0\/?p=233"},"modified":"2012-01-03T07:16:33","modified_gmt":"2012-01-03T07:16:33","slug":"flash-%e4%b8%8e-html%e3%80%81xml-%e4%bc%a0%e5%8f%82%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.01xj.net\/?p=233","title":{"rendered":"Flash \u4e0e Html\u3001Xml \u4f20\u53c2\u95ee\u9898"},"content":{"rendered":"<p>\u8fd9\u4e9b\u5929\u63a5\u5230\u4e00\u4e2aFlash\u7684\u5c0f\u7a0b\u5e8f\u3002\u9700\u8981\u63a5\u6536HTML\u548cXML\u7684\u53c2\u6570\u3002\u8fd9\u65b9\u9762\u6211\u4ee5\u524d\u6ca1\u505a\u8fc7\uff0cFlash\u4ee3\u7801\u4e5f\u4e0d\u592a\u719f\u3002\u53ea\u597d\u4e0a\u7f51\u6c42\u52a9\uff0c\u597d\u5728\u95ee\u8fd9\u65b9\u9762\u95ee\u9898\u7684\u4eba\u8fd8\u4e0d\u5c11\u3002\u770b\u4e86\u51e0\u4f4d\u9ad8\u4eba\u7684\u6587\u7ae0\uff0c\u53c8\u7ecf\u8fc7\u5b9e\u8df5\uff0c\u7ec8\u4e8e\u627e\u5230\u4e86\u7b54\u6848\u3002\u73b0\u5728\u628a\u8fd9\u4e24\u5929\u7684\u6536\u83b7\u603b\u7ed3\u4e00\u4e0b\uff0c\u514d\u5f97\u4ee5\u540e\u5fd8\u4e86\u3002<\/p>\n<p>1.\u4e0eHTML\u4ea4\u4e92<br \/>\nHTML\u4e2d\u9576\u5165Flash:<\/p>\n<p><span style=\"font-family: Times New Roman; color: #008080;\">&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; codebase=&#8221;http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,29,0&#8243; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;<br \/>\n&lt;param name=&#8221;movie&#8221; value=&#8221;1.swf?sedValue=123&#8243;&gt;<br \/>\n&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221;&gt;<br \/>\n&lt;embed src=&#8221;1.swf&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http:\/\/www.macromedia.com\/go\/getflashplayer&#8221; type=&#8221;application\/x-shockwave-flash&#8221; width=&#8221;550&#8243; height=&#8221;400&#8243;&gt;&lt;\/embed&gt;<br \/>\n&lt;\/object&gt;<\/span><\/p>\n<p><span>\u4f20\u53c2\u7684\u90e8\u5206\u5c31\u5728\u8fd9\u4e00\u53e5\u4e2d\uff1a<br \/>\n<\/span><span><span style=\"font-family: Times New Roman; color: #008080;\">&lt;param name=&#8221;movie&#8221; value=&#8221;1.swf?sedValue=123&#8243;&gt;<\/span><br \/>\n\u201cValue\u201d\u503c\u7531\u4e24\u90e8\u5206\u7ec4\u6210\uff0c &#8220;\uff1f&#8221; \u524d\u9762\u7684 &#8220;1.swf&#8221; \u662fFlash\u7684\u5730\u5740\u3002\u540e\u9762 &#8220;sedValue=123&#8221; \u662fFlash\u7684\u53c2\u6570\u3002Flash\u52a0\u8f7d\u65f6\uff0c\u8fd9\u4e2a\u503c\u4f1a\u88ab\u5199\u5165\u5230 &#8220;_root&#8221; \u91cc\u3002\u4e0b\u9762\u662ffla\u91cc\u7684\u4ee3\u7801\u3002<\/span><\/p>\n<p><span style=\"font-family: Times New Roman; color: #333399;\">text1.text=_root.sedValue; \/\/\u8fd9\u91cc\u7684sedValue \u5c5e\u6027\u5c31\u662f &#8220;1.swf?sedValue=123&#8221; \u4e2d\u7684\u53c2\u6570 &#8220;sedValue&#8221;<br \/>\n<\/span><span style=\"font-family: Times New Roman; color: #333399;\">s=_root.sedValue;<br \/>\ntrace(s);<\/span><\/p>\n<p><span>2.\u4e0eXML\u4ea4\u4e92<br \/>\n1.xml\u4e2d\u7684\u4ee3\u7801\u5982\u4e0b\uff1a<\/span><\/p>\n<p><span style=\"font-family: Times New Roman; color: #003366;\">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br \/>\n&lt;FlashText&gt;<br \/>\n&lt;Text1&gt;223&lt;\/Text1&gt;<br \/>\n&lt;\/FlashText&gt;<\/span><\/p>\n<p><span>fla\u4e2d\u4ee3\u7801\u5982\u4e0b\uff1a<\/span><\/p>\n<p><span><span style=\"font-family: Times New Roman; color: #993300; font-size: x-small;\">var myxml:XML = new XML();<br \/>\nmyxml.ignoreWhite=true;\/\/\u6ca1\u6709\u8fd9\u53e5,\u8bfb\u4e0d\u5230\u503c<br \/>\nmyxml.load(&#8220;1.xml&#8221;);<br \/>\nmyxml.onLoad = function()<br \/>\n{<br \/>\n\u00a0\u00a0 s=myxml.firstChild.firstChild.firstChild.nodeValue; \/\/\u7b2c\u4e00\u4e2a\u662f&lt;FlashText&gt;,\u7b2c\u4e8c\u4e2a\u662f&lt;Text1&gt;,\u7b2c\u4e09\u4e2a\u662f&lt;Text1&gt;\u4e2d\u5b58\u503c\u7684\u7ed3\u70b9\uff0cnodeValue\u662f\u5b58\u503c\u7ed3\u70b9\u7684\u7ed3\u70b9\u503c<br \/>\n\u00a0\u00a0 trace(s);<br \/>\n}<\/span> <\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e9b\u5929\u63a5\u5230\u4e00\u4e2aFlash\u7684\u5c0f\u7a0b\u5e8f\u3002\u9700\u8981\u63a5\u6536HTML\u548cXML\u7684\u53c2\u6570\u3002\u8fd9&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-233","post","type-post","status-publish","format-standard","hentry","category-flash"],"_links":{"self":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=233"}],"version-history":[{"count":2,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/233\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/233\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}