Secure and non-secure linking

Hi,

I didn’t know how to title or even search for this. Here goes the question.

How would I go about attaching a link to a piece of text thats pulled into a movie from a txt file. The flash piece will be located on a cd and on an intranet thats secure but uses the https when accessed outside the firewall.

Does this make sense? I just want to find a tutorial I can access that will tell me how to give a piece of dynamic text a way to get a URL either HTTP or HTTPS depending on where it get accessed.

Take care,
Gary