Loading local external clip in player problems
I am building a CD training course in F8 (html, not exe) and trying to load a flv from a subfolder to the swf. I call the function to load the flv from an xml file, the link opens the player "window" but I can't get the video, "assets/3.flv" to load inside. I'm going to eventually try to use an array to dynamically select the right videos to load, but for now, I'll be happy just to figure out how to load the direct url to the flv. I've tried a million things, like loading another clip into the parent clip, and then calling the flv (below), but nothing works. Can someone tell me what I am doing wrong here?
PHP Code:
function showMyVideo(){
hideVideo();
vidTime = 0; //reset it
curSpot = 0;
vidDone = false;
var ref = attachMovie("window","window_mc",300);
ref._y = 100;
ref._x = 641;
window_mc.createEmptyMovieClip("new_mc", 310);
new_mc.loadMovie("assets/3.flv");
}
Oh, and there is also a container (navigation) that calls the swfs (content) that call the player.