# How to change sendAndLoad parameter externally?

**URL:** <https://forum.kirupa.com/t/how-to-change-sendandload-parameter-externally/209297>\
**Category:** flash\
**Created:** [December 7, 2006, 4:27pm UTC](https://forum.kirupa.com/t/how-to-change-sendandload-parameter-externally/209297 "2006-12-07T16:27:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rooterman42](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rooterman42](https://forum.kirupa.com/u/rooterman42)\
**Post date:** [December 7, 2006, 4:27pm UTC](https://forum.kirupa.com/t/how-to-change-sendandload-parameter-externally/209297/1 "2006-12-07T16:27:33Z")

</div>

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](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
