After some hours of fiddling around with the action script code I finally managed to load files into the player after initialization.
@Benny; Here is how it worked for me:
1. Open mediaplayer.fla and copy the player instance
2. Open a blank document and paste it to the stage.
3. Publish and save it as customPlayer.swf.
4. Open the target document, that is pupposed to load the external swf. Insert the following lines of code:
// Set the flashvars
var width = "300";
var height = "240";
var autostart = "true";
var test:Test = new Test(this);
5. Write a new class "Test" that handles the loading:
import com.jeroenwijering.players.*;
class Test {
var mc:MovieClip;
var mpl:MediaPlayer;
var mcLoader:MovieClipLoader;
public function Test(mc:MovieClip) {
this.mc = mc;
mcLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("customPlayer.swf", mc.container_mc);
}
public function onLoadInit():Void {
loadFile();
}
private function loadFile():Void {
mpl.controller.getEvent("stop");
mc.file = "song.mp3";
mpl = new MediaPlayer(mc.container_mc.player);
}
}
6. Save and publish!


Hi! This is the greatest player so far, but I'm struggling with one issue. I don't have the com directory, because I don't need it. I used the following file:
------
This is a way to load the player in a swf. Download the file and see whats inside and how it works!
http://fifthrealmstudios.com/swf_loaded%20player/swf_loaded%20player.zip
-------
-this works well, but I cannot find the as files, so I could rename the height & width variables.. How can I get a hold of them?
Otherwise everything is cool, but I have the components in use aswell,, thanks in advance!