This content has been marked as final. Show 4 replies
Why don't you pass the IP of the server via FlashVars?
I don't want to have to recode each page that contains the movies as well as the movies themselves - we're talking hundreds of files
If your swfs reside on the same server then you can get the first part of the url.
t= this; (if this is the main timeline);
var serverPath= t._url.substr(0,t._url.indexOf("/",t._url.indexOf("//")+2));
it should give you http://subdomain.domain.com
if that's what you want...if its an ip address then that's what you'll get. You can't do an ip lookup of a domain name without using a server script as far as I know.
Just what I wanted...don't know why i didn't think of that!