How to change sendAndLoad parameter externally?

Hello,

I am just learning actionscript, and I need some help please with a problem I’m having. I am borrowing the actionscript example for a simple login that comes with flash 8. There is a line in the code as follows:

login_lv.sendAndLoad(“http://www.flash-mx.com/mm/login.cfm”, result_lv, “POST”);

The problem is I need to be able to change the url parameter externally so that the flash file doesn’t need to be republished everytime I need to change the url. I need to be able to change the url with some kind of external config file, or parameterize the url somehow, I’m really not sure:h:? I’ve been searching but I’m really clueless on this. If someone could please point me in the right direction, I would be hugely gratefull:).

Thanks,

r