Hello,

When a user clicks a button on my website, I want a movieclip to appear (graphically designed as a popup window) and inside this "popup" I'd like an external .swf file to be loaded inside it. It contains a large file (a song) so I'd like to do it this way instead of giving my site a huge loading time.

Here's the code I've got on the button:

Code:
on (release) {
	setProperty(_root.pages.hmhsong, _visible, "1");
	loadMovie("holdmehostage.swf", this._parent.hmhsong.hmhsong2);	
}
"hmhsong" is the popup MC and "hmhsong2" is the empty movieclip that will, of course, hold the external file.

Just in case you need to know, here's the code in the external .swf file (this code is placed on a MC on the stage:

Code:
onClipEvent (load) {
	total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
	loaded = _root.getBytesLoaded();
	percent = int(loaded/total*100);
	txt = "Loading song "+percent+"%";
	//trace(percent)
	this.gotoAndStop(percent);
	if (loaded == total and total>380 and a<> 1) {
		a=1;
		_root.gotoAndPlay("s7");
	}
}
The problem that I'm having is that nothing happens when the button is clicked. "hmhsong" (the popup MC) doesn't become visible (whereas my coding clearly states it should!) and the song doesn't play. I'm getting nothing!

Can anyone tell me where I've gone wrong?

Thanks.