Variable change

i know this should be very easy, i know i should know this already but here it goes.

how do i change this variable dynamically?

myvar = “www.kirupa.com

all i need to do is change it

rL

Simply use

myvar = "some other stuff";

yeah can that be done with text file

having the variable in flash with action script and then when it loads it pulls the new variable from txt file

Yes, you can use the LoadVars object.
Textfile:

content=updated content
l = new LoadVars();
l.onLoad = function(success){
if(success){
myVar = this.content;
}
}
l.load("textfile.txt");

yep that is what i was looking for. thanks so much, you always seem to be one step ahead (or 1000 steps).

rL :slight_smile:

Glad i could help =)