{"id":880,"date":"2009-04-05T12:20:39","date_gmt":"2009-04-05T04:20:39","guid":{"rendered":"http:\/\/www.nan.im\/blog\/?p=880"},"modified":"2009-04-05T12:20:39","modified_gmt":"2009-04-05T04:20:39","slug":"%e5%ae%8c%e5%85%a8%e7%ac%a6%e5%90%88-w3c-%e6%a0%87%e5%87%86%e7%9a%84-flash-%e6%8f%92%e5%85%a5%e4%bb%a3%e7%a0%81%e5%8f%8a%e5%8f%82%e6%95%b0%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"http:\/\/nan.im\/blog\/880","title":{"rendered":"\u5b8c\u5168\u7b26\u5408 W3C \u6807\u51c6\u7684 Flash \u63d2\u5165\u4ee3\u7801\u53ca\u53c2\u6570\u8bbe\u7f6e"},"content":{"rendered":"<p>\u5728\u7f51\u9875\u4e2d\u7ecf\u5e38\u9700\u8981\u63d2\u5165 SWF \u6587\u4ef6\u6216 FLV \u5f71\u7247\u53ca\u57fa\u4e8e Flash \u7684 RIA \u7a0b\u5e8f\u7b49\u7b49\uff0c\u4f7f\u7528 Adobe Dreamweaver \u81ea\u52a8\u63d2\u5165\u7f51\u9875 Flash \u52a8\u753b\u65f6 Dw CS3 \u4f1a\u9644\u5e26\u63d2\u5165\u4e00\u4e2a JS \u6587\u4ef6 AC_RunActiveContent.js \u8fd9\u4e2a JS \u6587\u4ef6\u5176\u5b9e\u53ea\u662f\u7528\u6765\u53bb\u6389 IE \u6d4f\u89c8\u5668\u91cc Flash \u5468\u56f4\u7684\u5b89\u5168\u63d0\u793a\u6846\uff0c\u5728 Dw CS4 \u65f6\u5219\u4f1a\u9644\u5e26\u63d2\u5165\u4e24\u4e2a\u6587\u4ef6\u5373 expressInstall.swf \u548c swffix_modified.js \u524d\u4e00\u4e2a\u7528\u6765\u6307\u5bfc\u6ca1\u6709\u5b89\u88c5 Flash \u63d2\u4ef6\u7684\u6d4f\u89c8\u5668\u5728\u7ebf\u4e0b\u8f7d\u5b89\u88c5\u800c swffix \u811a\u672c\u5219\u7528\u6765\u4f18\u5316\u4e00\u4e9b\u590d\u6742 Flash \u7684\u6e32\u67d3\u6548\u7387\uff0c\u5177\u4f53\u53ef\u5728 <a href=\"http:\/\/code.google.com\/\" target=\"_blank\">GoogleCode<\/a> \u627e\u5230\u5176\u9879\u76ee <a href=\"http:\/\/code.google.com\/p\/swfobject\/\" target=\"_blank\">SwfObject<\/a> \u76f8\u5173\u63cf\u8ff0\u53ca\u4e0b\u8f7d\uff0c\u800c Adobe CS4 \u5185\u7f6e\u7684\u662f\u7ecf\u8fc7\u4fee\u6539\u7684 swffix \u811a\u672c\uff0c\u6587\u4ef6\u6bd4 <a href=\"http:\/\/www.swffix.org\/\" target=\"_blank\">swffix.org<\/a> \u63d0\u4f9b\u7684\u66f4\u5c0f\u6216\u8bb8\u4e5f\u66f4\u597d\u7528\u5427\uff0c\u4f46\u5982\u679c\u662f\u5e73\u65f6\u4ec5\u4ec5\u662f\u63d2\u5165\u4e00\u4e2a\u666e\u901a\u7684\u5c0f\u52a8\u753b\u662f\u5426\u9700\u8981\u5f15\u5165\u8fd9\u4e9b\u9644\u52a0\u7684\u6587\u4ef6\u6216\u4ee3\u7801\u5417\uff0c\u5f53\u7136\u662f\u5b8c\u5168\u6ca1\u6709\u5fc5\u8981\u7684\uff0c\u5b8c\u5168\u53ef\u4ee5\u6309\u7167\u6211\u4e0b\u9762\u7ed9\u51fa\u7684\u65b9\u6cd5\u5f15\u7528 Flash \u5373\u53ef\u4ee5\u901a\u8fc7 W3C \u7684\u5ba1\u6838\uff0c\u4e5f\u6ca1\u6709\u4efb\u4f55\u91cd\u7528\u4ee3\u7801\u770b\u8d77\u6765\u4e5f\u6bd4\u8f83\u6e05\u723d\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u5b8c\u5168\u7b26\u5408 W3C \u6807\u51c6\u7684 Flash \u63d2\u5165\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<pre lang='html4strict' line='1'>\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\u2033 width=\"65\u2033 height=\"65\u2033>\n<!\u2013[if !IE]>\u2013>\n    <object type=\"application\/x-shockwave-flash\" data=\"flash.swf\" width=\"65\u2033 height=\"65\u2033>\n<!\u2013<![endif]\u2013>\n<param name=\"movie\" value=\"flash.swf\" \/>\n<!\u2013[if !IE]>\u2013>\n    <\/object>\n<!\u2013<![endif]\u2013>\n<\/object>\n<\/pre>\n<p>\u4e0a\u9762\u8fd9\u6bb5\u4ee3\u7801\u662f\u901a\u8fc7\u4e86 W3C \u9a8c\u8bc1\u7684\uff0c\u5f53\u7136\u4e5f\u517c\u5bb9\u4e3b\u6d41\u6d4f\u89c8\u5668\uff08\u5982 IE Firefox \u7b49\uff09\u540c\u65f6\u4e5f\u907f\u514d\u4e86\u4ee3\u7801\u91cd\u590d\uff0c\u5176\u4e2d\u6700\u5916\u5c42\u7684 &lt;object&gt; \u6807\u7b7e\u9002\u7528\u4e8e IE \u6d4f\u89c8\u5668\uff0c\u91cc\u9762\u7684 &lt;object&gt; \u6807\u7b7e\u9002\u7528\u4e0e\u975e IE \u6d4f\u89c8\u5668\uff0c\u5fc5\u987b\u6307\u5b9a\u7684\u5c5e\u6027\u662f type \u548c data \u503c\u53ca\u5bbd\u9ad8\uff0c\u5f53\u7136\u6807\u7b7e\u5185\u4e5f\u53ef\u4ee5\u9009\u62e9\u6027\u6dfb\u52a0 id class bgcolor \u7b49\u7b49\u5c5e\u6027\u3002\u91cc\u9762\u7684 &lt;param&gt; \u6807\u7b7e\u5219\u53ef\u4ee5\u6307\u5b9a\u4e00\u4e9b\u53c2\u6570\u4ee5\u4f9b swf \u6587\u4ef6\u6216\u6d4f\u89c8\u5668\u8c03\u7528\uff0c\u4e0b\u9762\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u53c2\u6570\u8bbe\u7f6e\uff1a<\/p>\n<blockquote><p><strong>\u5168\u5c4f<\/strong>\uff1a\u662f\u5426\u5141\u8bb8\u5168\u5c4f\uff0c\u9ed8\u8ba4\u4e3a\u5426<br \/>\n&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221; \/&gt;<\/p>\n<p><strong>\u4f20\u53c2<\/strong>\uff1a\u4f20\u9012\u53c2\u6570\u7ed9 swf \u4f7f\u7528\uff08\u591a\u4e2a\u53c2\u6570\u4f7f\u7528 &amp; \u94fe\u63a5\uff09<br \/>\n&lt;param name=&#8221;FlashVars&#8221; value=&#8221;xml=flash.xml&#8221; \/&gt;<\/p>\n<p><strong>\u80cc\u666f<\/strong>\uff1a\u8bbe\u7f6e Flash \u80cc\u666f\u8272\uff08\u5982\u4e00\u4e9b\u5706\u89d2 Flash \u52a8\u753b\uff09<br \/>\n&lt;param name=&#8221;bgColor&#8221; value=&#8221;#ff6600&#8243; \/&gt;<\/p>\n<p><strong>\u83dc\u5355<\/strong>\uff1a\u8bbe\u7f6e Flash \u53f3\u952e\u83dc\u5355\uff0c\u7528\u6765\u53bb\u6389\u4e00\u4e9b\u9ed8\u8ba4\u7684\u83dc\u5355\u53ea\u7559\u4e0b\u4e86\u8bbe\u7f6e\u548c\u5173\u4e8e\uff1a<br \/>\n&lt;param name=&#8221;menu&#8221; value=&#8221;false&#8221; \/&gt;<\/p>\n<p><strong>\u54c1\u8d28<\/strong>\uff1a\u8bbe\u7f6e Flash \u64ad\u653e\u54c1\u8d28\uff0c\u53ef\u7528\u53c2\u6570\u662flow medium hight best \u7b49\uff1a<br \/>\n&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; \/&gt;<\/p>\n<p><strong>\u7a97\u53e3<\/strong>\uff1a\u8bbe\u7f6e Flash \u7a97\u53e3\u6a21\u5f0f\uff0c\u53ef\u7528\u53c2\u6570 Window \u9ed8\u8ba4\u503c\uff0c\u59cb\u7ec8\u4f4d\u4e8ehtml\u7684\u9876\u5c42\uff1b Opaque \u5141\u8bb8 Flash \u4e0a\u5c42\u53ef\u4ee5\u6709\u7f51\u9875\u7684\u906e\u6321\uff1b Transparent \u80cc\u666f\u900f\u660e\uff0c\u5c06\u6709\u53ef\u80fd\u964d\u4f4e Flash \u7684\u6027\u80fd\uff0c\u4f46\u6700\u4e3a\u5e38\u7528\uff1a<br \/>\n&lt;param name=&#8221;wmode&#8221; value=&#8221;default&#8221; \/&gt;<\/p>\n<p><strong>\u8def\u5f84<\/strong>\uff1a\u8bbe\u7f6e Flash \u76f8\u5bf9\u8def\u5f84\u7684\u53c2\u8003\u4f4d\u7f6e\uff1a<br \/>\n&lt;param name=&#8221;base&#8221; value=&#8221;url&#8221; \/&gt;<\/p>\n<p><strong>\u7f29\u653e\u53c2\u8003<\/strong>\uff1a\u8bbe\u7f6e Flash \u7f29\u653e\u53c2\u8003\u70b9\uff0c\u53ef\u7528\u53c2\u6570 L \u5de6\u4fa7\uff1b R \u53f3\u4fa7\uff1b T \u4e0a\u4fa7\uff1b B \u4e0b\u4fa7\uff1b TL \u5de6\u4e0a\uff1bTR \u53f3\u4e0a\uff1b BL \u5de6\u4e0b\uff1b BR \u53f3\u4e0b\uff0c\u5982\u679c\u4e0d\u8bbe\u7f6e\u9ed8\u8ba4\u4ee5\u4e2d\u5fc3\u4f5c\u4e3a\u53c2\u8003\u70b9\uff1a<br \/>\n&lt;param name=&#8221;salign&#8221; value=&#8221;TL&#8221; \/&gt;<\/p>\n<p><strong>\u7f29\u653e\u6a21\u5f0f<\/strong>\uff1a\u8bbe\u7f6e Flash \u7f29\u653e\u6a21\u5f0f\uff0c\u53ef\u7528\u53c2\u6570\u662f showall \u5373\u663e\u793a\u5168\u90e8\u5185\u5bb9\uff0c\u4fdd\u6301\u6bd4\u4f8b\uff0c\u4f46\u662f\u4e0a\u4e0b\u6216\u8005\u5de6\u53f3\u53ef\u80fd\u6709\u7a7a\u767d\uff1b noborder \u5373\u7f29\u653e\u5e76\u88c1\u51cf\u5185\u5bb9\uff0c\u4fdd\u6301\u6bd4\u4f8b\u4f46\u662f\u4e0d\u7559\u7a7a\u767d\uff1b exactfit \u6309\u7167 Flash \u8bbe\u7f6e\u7684\u9ad8\u5ea6\u548c\u5bbd\u5ea6\u7f29\u653e\uff0c\u4e0d\u4fdd\u6301\u6bd4\u4f8b\uff1b noscale \u4e0d\u653e\u7f29\uff0c\u539f\u59cb\u6bd4\u4f8b\u3002<br \/>\n&lt;param name=&#8221;scale&#8221; value=&#8221;default&#8221; \/&gt;<\/p><\/blockquote>\n<p>\u4e0a\u9762\u8fd9\u4e9b\u53c2\u6570\u90fd\u662f\u5e73\u65f6\u6bd4\u8f83\u7ecf\u5e38\u7528\u5230\u7684\uff0c\u5e0c\u671b\u80fd\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u7f51\u9875\u4e2d\u7ecf\u5e38\u9700\u8981\u63d2\u5165 SWF \u6587\u4ef6\u6216 FLV \u5f71\u7247\u53ca\u57fa\u4e8e Flash \u7684 RIA \u7a0b\u5e8f\u7b49\u7b49\uff0c\u4f7f\u7528 Adobe  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[8,20,34],"class_list":["post-880","post","type-post","status-publish","format-standard","hentry","category-tech","tag-adobe","tag-code","tag-flash"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts\/880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/comments?post=880"}],"version-history":[{"count":0,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts\/880\/revisions"}],"wp:attachment":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/media?parent=880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/categories?post=880"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/tags?post=880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}