{"id":28,"date":"2009-02-10T15:40:19","date_gmt":"2009-02-10T07:40:19","guid":{"rendered":"http:\/\/www.wlash.com\/blog\/?page_id=28"},"modified":"2009-02-10T15:40:19","modified_gmt":"2009-02-10T07:40:19","slug":"publish-setting-html-template","status":"publish","type":"page","link":"https:\/\/blog2.wwhhoo.com\/?page_id=28","title":{"rendered":"Flash\u53d1\u5e03\u6a21\u677f"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-size: larger;\">\u81ea\u5b9a\u4e49\u4e09\u4e2aHTML\u6a21\u677f<\/span><span style=\"font-size: x-small;\">\uff08\u8981\u6c42<\/span><span style=\"font-size: smaller;\"><a target=\"_blank\" href=\"http:\/\/code.google.com\/p\/swfobject\/\" rel=\"noopener\"><span style=\"font-size: x-small;\">swfobject.js<\/span><\/a><\/span><span style=\"font-size: x-small;\">\u6587\u4ef6,ver2.1\u901a\u8fc7\u6d4b\u8bd5\uff09<\/span><span style=\"font-size: larger;\">\u3002<\/span><\/p>\n<ol>\n<li><em>swfobject_static.html<\/em> <strong>\u4f7f\u7528swfobject\u7684static\u65b9\u6cd5\u6765\u53d1\u5e03flash\u3002<br \/>\n    \u4f7f\u7528\u6700\u57fa\u672c\u7684\u65b9\u5f0f\u5728HTML\u9875\u9762\u4e2d\u63d2\u5165SWF\u6587\u4ef6\uff0c\u4fdd\u8bc1\u5bf9\u5404\u79cd\u6d4f\u89c8\u5668\u6700\u5927\u7684\u517c\u5bb9\u3002SWF\u6587\u4ef6\u88ab\u63d2\u5165\u5728\u4e00\u4e2a\u8868\u683c\u5f53\u4e2d\uff0c\u5e76\u4e0a\u4e0b\u5de6\u53f3\u5c45\u4e2d\u3002<\/strong><\/li>\n<li><em>swfobject_dynamic.html<\/em> <strong>\u4f7f\u7528swfobject\u7684dynamic\u65b9\u6cd5\u6765\u53d1\u5e03flash\u3002<br \/>\n    \u4f7f\u7528javascript\u65b9\u5f0f\u5728HTML\u9875\u9762\u4e2d\u63d2\u5165SWF\u6587\u4ef6\uff0c\u53ef\u4ee5\u5bf9flashplayer\u7684\u7248\u672c\u8fdb\u884c\u68c0\u6d4b\u3002SWF\u6587\u4ef6\u88ab\u63d2\u5165\u5728\u4e00\u4e2a\u8868\u683c\u5f53\u4e2d\uff0c\u5e76\u4e0a\u4e0b\u5de6\u53f3\u5c45\u4e2d\u3002<\/strong><\/li>\n<li><em>banner_showcase.html<\/em> <strong>\u4f7f\u7528swfobject\u7684dynamic\u65b9\u5f0f\u6765\u63d2\u5165SWF\u6587\u4ef6\uff0c\u53ef\u901a\u8fc7\u624b\u52a8\u6dfb\u52a0banner\u7684\u5c5e\u6027\uff0c\u81ea\u52a8\u751f\u6210banner\u9648\u5217\u8868\u3002<br \/>\n    \u663e\u793abanner\u7684\u957f\u5bbd\u503c\uff0c\u6587\u4ef6\u5927\u5c0f\u7b49\u5c5e\u6027\u3002\u5982\u679c<\/strong><a href=\"http:\/\/www.wlash.com\/blog\/wp-content\/uploads\/getFlashBannerInfo_source.zip\"><strong>getFlashBannerInfo.swf<\/strong><\/a><strong>\u6587\u4ef6\u5b58\u5728\uff0c\u5219\u4f1a\u9010\u4e2a\u68c0\u6d4bbanner\u7684\u5b9e\u9645\u7684\u6587\u4ef6\u5927\u5c0f\uff0cSWF\u7248\u672c\uff0cSWF\u5e27\u7387\u7b49\u5c5e\u6027\u503c\u3002<br \/>\n    \u6dfb\u52a0\u5176\u5b83banner\u3002\u6253\u5f00banner_showcase.html\u6a21\u677f\u751f\u6210\u7684html\uff0c\u627e\u5230     <\/strong><\/p>\n<pre lang=\"javascript\" line=\"51\">\n\/\/\/\/\/\/\/\/\/banner data\\\\\\\\\\\\\\\n\/\/add banner INFO below, banner filename format must be [width]x[height]_[filesize]k.swf\\\nvar bData = [\/\/first banner{\nfilename:&quot;400x200_40k&quot;,\/\/not include .swf\nwidth:&quot;400&quot;,\/\/px\nheight:&quot;200&quot;,\/\/px\nintro:&quot;400x200_40k.swf&quot;,\nversion:globalVersion,\/\/default\nflashvars:flashvars,\/\/default\nparams:params,\/\/default\nattributes:attributes}\n...<\/pre>\n<p>    \u53c2\u6570\u683c\u5f0f\u6dfb\u52a0banner<a href=\"#banner_format\">*<\/a>\uff0c<\/p>\n<ul>\n<li><strong>width<\/strong> \u4e3aSWF\u7684\u5bbd<\/li>\n<li><strong>height<\/strong> \u4e3aSWF\u7684\u9ad8<\/li>\n<li><strong>intro<\/strong> \u4e3a\u5bf9SWF\u7684\u6587\u5b57\u4ecb\u7ecd\uff0c\u53ef\u4ee5\u7a7a\u7740\u4e0d\u586b<\/li>\n<li><strong>version<\/strong> \u4e3aSWF\u7248\u672c\uff0c\u9ed8\u8ba4\u4e3a\u53d1\u5e03HTML\u65f6\u5b9a\u4e49\u7684\u503c<\/li>\n<li><strong>flashvars<\/strong> \u4e00\u822c\u4e0d\u7528\u5b9a\u4e49\uff0c\u6307\u5b9aSWF\u53d8\u91cf<\/li>\n<li><strong>params<\/strong> \u4e00\u822c\u4e0d\u7528\u5b9a\u4e49\uff0c\u6307\u5b9aSWF\u53c2\u6570<\/li>\n<li><strong>attributes<\/strong> \u4e00\u822c\u4e0d\u7528\u5b9a\u4e49\uff0c\u6307\u5b9aSWF\u5c5e\u6027<\/li>\n<li><strong>size<\/strong> \u4e00\u822c\u4e0d\u7528\u5b9a\u4e49\uff0c\u53ef\u4ee5\u989d\u5916\u6307\u5b9a\u53e6\u4e00\u6587\u4ef6\u5927\u5c0f\uff0c\u901a\u5e38\u662f\u6839\u636eSWF\u6587\u4ef6\u540d\u81ea\u52a8\u83b7\u5f97<\/li>\n<\/ul>\n<p>    \u5b8c\u6574\u4f8b\u5b50<a href=\"http:\/\/www.wlash.com\/blog\/wp-content\/uploads\/banner_showcase_demo.zip\">\u4e0b\u8f7d<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.wlash.com\/blog\/wp-content\/uploads\/swfobject template.zip\">MXP\u4e0b\u8f7d<\/a><br \/>\n\u5982\u679cMXP\u5b89\u88c5\u540e\u4e0d\u80fd\u663e\u793a\uff0c\u8bf7\u53c2\u8003<a target=\"_self\" href=\"http:\/\/www.wlash.com\/blog\/?p=105\" rel=\"noopener\">\u8fd9\u91cc<\/a>\u3002<\/p>\n<p><a name=\"banner_format\"><\/a>*<span style=\"color: rgb(128, 128, 128);\">banner\u6587\u4ef6\u540d\u683c\u5f0f\u5fc5\u987b\u4e3a <strong>[\u5bbd\u5ea6x\u9ad8\u5ea6_\u8981\u6c42\u7684\u6587\u4ef6\u5927\u5c0fk.swf] <\/strong>\uff0c\u5982\uff1a790x90_30k.swf<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u81ea\u5b9a\u4e49\u4e09\u4e2aHTML\u6a21\u677f\uff08\u8981\u6c42swfobject.js\u6587\u4ef6,ver2.1\u901a\u8fc7\u6d4b\u8bd5\uff09\u3002 swfobj [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11,"menu_order":2,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-28","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/pages\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":0,"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/blog2.wwhhoo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}