For Flash (. SWF) file add playback control bar

Source: Internet
Author: User

There are a lot of good flash format video tutorials, unfortunately some of the video did not add control to control the progress of the bar, Storm audio and video such software can play the file in Flash format, and can use its own control bar for the progress of the Flash control, Because each video recording when the resolution of different problems, the use of storm audio and video sometimes appear the screen effect is very poor, there are many mosaic makes the text is difficult to see and so on.

The following is borrowed from the Sun Xin Teacher's Java video tutorial used in the control bar, a simple modification will be able to add a control bar in the SWF file to watch.

First download the compressed package provided here, which has 3 files: flash.html,config.xml,controller.swf.

http://ys-c.ys168.com/?Flash_Controller.rar_67e2bs0bs5bt7bs7bs0cm0c0bsorrr4b5bt7bs1bt7biu14z97f14z

Click the right button to save the destination as a download.

The Config.xml file opens in Notepad as:
<config>
<AutoStart>1</AutoStart>
<MovieWidth>1024</MovieWidth>
<MovieHeight>768</MovieHeight>
<BackgroundColor>FFFFFF</BackgroundColor>
<MovieURL> here to fill in the path of the SWF file you want to play </MovieURL>
<ShowLoadingMov>0</ShowLoadingMov>
<LoadingMovURL></LoadingMovURL>
<ScaleLoadingMov>1</ScaleLoadingMov>
<LoadingMovPercentToLoad>50</LoadingMovPercentToLoad>
<LoadingMovMinDuration>3</LoadingMovMinDuration>
<ControllerColor>C0C0C0</ControllerColor>
<ShowFFRW>1</ShowFFRW>
<ShowAbout>1</ShowAbout>
<AboutBoxText></AboutBoxText>
<TimeDisplayFormat>MM:SS</TimeDisplayFormat>
<ShowDuration>1</ShowDuration>
<ShowElapsedTime>1</ShowElapsedTime>
<TimeDisplayFont>Arial</TimeDisplayFont>
<TimeDisplayFontColor>000000</TimeDisplayFontColor>
</config>

In <MovieURL> </MovieURL> this tag, fill in the SWF file path
Like <movieurl>d:/tutorials/c#_lesson1.swf</movieurl>

Then run the flash.html file, the specified SWF file will play in IE, and automatically embed the playback control bar.

Note: Reprint please famous source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.