So here's the problem. I need to make a script for the flvplayer that changes the contentPath of it. For example if I play the swf file it would load call a flv file from a particular path, lets call it "path A". then I load it in an Online Learning module, and it works coz the flv is loaded in it. and then I make an offline version of it, but the thing iz, it has a conflict with "pathA" coz of the "/" conflict, but if u replace and replublish pathA's "/" with "\"(lets call it "pathB"), the offline version works. so my question is, Is it possible for a script to detect if the flvplayer loads the flv file with the condition of "pathA" and/or "pathB"? (or am I not making any sense?) if yes could anyone help me out with the script? i ahve no idea where to begin... thanks in advance!
oh I forgot... it must load the flv file from "pathA" and if it cant detect it, the script automatically uploads it from "pathB". so I wouldn't have to publish 2 versions of the same swf file... thanx in advance!
So, you are actually asking if there is a way to detect whether you are running it online or offline, I take???
The _url contains some value like http://www.server.com or file://c|whatever which you can check if it starts with 'http' or not to detect if it is running online or not... Maybe you can use that method???
Oh, please don't bump the post... We don't allow that here in this forum...