DOWNLOADS EXAMPLES SKINS DOCS SUPPORT
 
 

Wimpy Loader

Wimpy Loader provides an example for how to load Wimpy MP3 Player into an existing Flash project.

There are two versions of Wimpy Loader.

1. The standard example
which contains a wimpyLoader.fla source file, complete with working buttons and playlist modifiers. Click here to download the standard example (with source.fla project.

2. Actionscript only.
This example is provided if you would like to use pure actionscript to load Wimpy. This option is good if you are not using the Adobe Flash MX IDE. Click here to download the actionscript only:

 


 

Using Wimpy Loader

Before you begin:

- Upload Wimpy and any skin files to your web server.

- Created, uploaded and tested a "wimpyConfigs.xml" file. Follow the instructions for generating a Wimpy Configs" file by clicking here.

- Wimpy will **probably** NOT work when "testing" or viewing your compiled Flash project (SWF file) locally (on your PC). You must test Wimpy within your Flash project on a live server. This is due to "sandbox" security measures built into Flash (e.g. All files that run within a Flash project **should** be located on the same domain.com or sub.domain.com).

1. Using the links to the right, download a Wimpy Loader example. If you are using the "Actionscript only" version, skip to step #7.

 

2. Copy and Paste the gray box with the Wimpy logo in it to your existing flash project.

NOTE: Click on images to enlarge.

 

3. Resize the gray box to the size you would like the player to be.

 

4. While the gray box is still selected, open the “Actions" panel. (From the Main Menu > Window > Actions)

 

5. You should see code in the Actionscript editor similar to the code shown in the image to the right.

 

 

6. Scroll down until you see:

_root.wimpySwf = "wimpy.swf";
_root.wimpyConfigs = "wimpyConfigs.xml";

 

7. Change both variables so that they use the proper URL to each file on your server.

Example:

_root.wimpySwf = "http://www.yoursite.com/mp3s/wimpy.swf";
_root.wimpyConfigs = "http://www.yoursite.com/mp3s/wimpyConfigs.xml";

 

 

 

 


For Wimpy MP3 Player:

Standard example
(with source.fla project):
source fla

Actionscript only:
source actionscript

 

See Also:

- Wimpy Configs

- Using and defining a Wimpy Configs file.

 

NOTES:

When using the Wimpy Loader example, be sure to take a close look at a couple things:

- Exporting as flash version 6
- Exporting as actionscript version 1.0
- When embedding into HTML, in the object tag, be sure that the following attribute:
codebase="http://...blah...blah...version=6,0,47,0"
... is set to 6,0,47,0
- And that in the <object> tag the following exists:
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
... plus the sister attributes in the <embed> tag:
salign="lt"
scale="noscale"
This also means that you can not (should not) "scale" or stretch your main.swf movie within the HTML... in other words, if you built your main movie at 650x400 pixels, then it should be 650x400 pixels in your HTML.

You should examine the HTML output by the customizer tool to cross-reference with your HTML.

 

 

 

 

 

 

 

 

  ©Copyright Plaino LLC. All rights reserved.