Flash Tutorials - Herong's Tutorial Examples
∟"mp3player" - MP3 Music Player
∟"mp3player" Configuration Parameters
This section describes some basic configuration parameters provided through object.param[@name='FlashVars'] sub element to control how mp3player works.
As you can from the tutorial example presented in the previous section,
mp3player supports a large number of configuration parameters:
- mp3 - Specifies a MP3 file containing the music to be played.
- width - Specifies the width of the control panel to be displayed.
- height - Specifies the height of the control panel to be displayed.
- buttonwidth - Specifies the width of buttons displayed on the control panel.
- sliderwidth - Specifies the width of the slider that indicates the progress of music play.
- sliderheight - Specifies the height of the slider that indicates the progress of music play.
- showstop - Specifies 1 to turn on the shop button
- showvolume - Specifies 1 to turn on the volume button
- showinfo - Specifies 1 to turn on the information button
- skin - Specifies an image file to be used as the skin
- config - Specifies a configuration file containing configuration parameters.
- ... - Many other configuration parameters are supported.
Configuration parameters can be provided in 2 ways to mp3player:
- Enter parameters directly inside an "object.param" sub element like:
<param name="FlashVars" value="name=value&name=value&..."/>
- Enter parameters inside a configuration file. Then specify the configuration file
in an "object.param" sub element like:
<param name="FlashVars" value="config=config_file"/>
Table of Contents
About This Book
Introduction of Adobe Flash
Adobe Flash Player Plugin for Firefox
Adobe Flash Player Plugin for Chrome
Adobe Flash Player Plugin for Safari
Adobe Flash Player ActiveX for IE
Using "object" Elements for Flash Files
Using "embed" Elements for Flash Files
►"mp3player" - MP3 Music Player
Downloading and Testing "mp3player"
Integrating "mp3player" in Web Pages
►"mp3player" Configuration Parameters
"mp3player" Controlled by JavaScript Code
"object" Element with Flash Parameters
"object" Element with Flash Parameters - Firefox 3
"object" Element with Flash Parameters - IE 8
"embed" Element with Flash Parameters
SWFObject - Hidding "object" behind JavaScript
Flash Player Projector
SWFTools - SWF File Manipulation Tools
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
AS3Compile - ActionScript 3 Compiler
Adobe Flex SDK 4
SWF File Structure and Tags
SWF File Processing Rules
SWF Files for Video and Audio Streams
Outdated Tutorials
References
Full Version in PDF/EPUB