Return to the Index
There are two versions of the Skinnable MP3 Player: a "Flash Component" and a "Flash Applet". The version that you should use depends on what you need it for.
If yes, the Skinnable MP3 Flash Component may be for you.
If yes, then the Skinnable MP3 Flash Applet may be for you.
To install, open the "mp3player.mxp" file. This will automatically install the component in your Macromedia Extension Manager.
Then, to use the component, simply drag an instance of the component to your Flash stage, and set the component properties accordingly. The actual MP3 player interface will not be viewable until the skinX.swf file is also present (in the path that was set in the Component Inspector).
The .swc and .mxi files are also available, but are normally not needed unless you wish to re-compile the component .mxp file for some reason.
A PDF API is available for component users who wish to set these parameters via function calls in ActionScript. Click here to view the API.
To install, just copy the appropriate HTML code from the skin HTML file (skinX.html) that you want to use:
Please note that there are two file path references that you must be careful of: "swfobject.js" must be correctly referenced in the <script> tag, and "mp3player.swf" must be correctly referenced. In other words, if you upload the HTML to:
Then, you must also upload swfobject.js and mp3player.swf to the "mp3_player" folder. Likewise, you must ensure that the skin SWF path is correct. In this example, you would upload the skins folder to:
Getting the file path references wrong is the #1 reason that the MP3 applet does not work for users. Another big reason is syntax errors in the XML config file.
var mp3player = new SWFObject("mp3player.swf?xml=config.xml&player_skin=./skins/skin1.swf", "skin1", "361", "272", "8", "#ffffff", true);
Additionally, the background can be made transparent by use of the following additional code, which can be placed anywhere after the "var webradio = ..." command: