Home >Web Front-end >HTML Tutorial >About the use of web swf player_html/css_WEB-ITnose

About the use of web swf player_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:51:551425browse

Put a swf animation on the web page through three files

Flash_controller.swf player

Flash_controller.html code is as follows

<html><head><title>Macromedia Flash (SWF)</title></head><body bgcolor="#FFFFFF"><div><!-- saved from url=(0053)http://www.zhcw.com/lottery/db_table_last_200_asc.htm --><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="400" ><param name="movie" value="Flash_controller.swf?csConfigFile=Flash_controller.xml"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF"><param name="FlashVars" value="csConfigFile=Flash_controller.xml"><embed src="Flash_controller.swf?csConfigFile=Flash_controller.xml" FlashVars="csConfigFile=Flash_controller.xml" quality=high bgcolor=#FFFFFF width=200 height=400 type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer"></embed></object></div></body></html>


Flash_controller.xml The code is as follows

<config><AutoStart>1</AutoStart><MovieWidth>200</MovieWidth><MovieHeight>400</MovieHeight><BackgroundColor>FFFFFF</BackgroundColor><MovieURL>2.swf</MovieURL><ShowLoadingMov>0</ShowLoadingMov><LoadingMovURL></LoadingMovURL><ScaleLoadingMov>0</ScaleLoadingMov><LoadingMovPercentToLoad>50</LoadingMovPercentToLoad><LoadingMovMinDuration>3</LoadingMovMinDuration><ControllerColor>C0C0C0</ControllerColor><ShowFFRW>0</ShowFFRW><ShowAbout>0</ShowAbout><AboutBoxText></AboutBoxText><TimeDisplayFormat>MM:SS</TimeDisplayFormat><ShowDuration>0</ShowDuration><ShowElapsedTime>0</ShowElapsedTime><TimeDisplayFont>Arial</TimeDisplayFont><TimeDisplayFontColor>000000</TimeDisplayFontColor></config>



The result is that the animation can be played, and the playback can also be paused. However, the player itself and the animation are so small that the height and width I set have no effect. No Do you know what the reason is (I have changed many swf animation files themselves and the original size is not so small). The specific situation is as shown in the figure

Does anyone know how to change it or what is wrong? Is there a problem with the xml


Reply to the discussion (solution)

Non-professional experience

Please give me a copy of the file, thank you, especially the player, mobing317 @163.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn