Posted on 2006-10-27
I need to be able to set the contentPath from my FLVplayback, but I cann't get it to work.
if I do this on my swf file it works.
myFLVPlayer.contentPath = "myvideo.flv";
but when I send the movie name from the HTML page it doesn't work.
I created a falshVar so I can send it to my swf file. Here is my code... also I have a debug textbox to see if the name is correct.
I can get the name to display on my textbox.
debug.text = trace(_root.flvFileName);
but when I set the contentPath to my trace(_root.flvFileName); it doesn't work.
How can I do that? I just need to set the contentPath on my FLVPlayback.