-
Hi,
How can I load a dynamic url from an external text file. I am sure this is something pretty easy but can't seem to figure it out this morning.
Thanks in advance,
Surveysays
-
on frame
loadVariablesNum("YourTextFile.txt", 0);
on button
on (release) {
getURL(VarFromYourTextFile);
}
Hope it helps
-
I need to put a variable name = to the variable text I want to load in the text document, right.
varname=www.urltoload.com
Then on frame
loadVariablesNum("YourTextFile.txt", 0);
and put this in a dynamic text field named "varname"
on button
on (release) {
getURL(VarFromYourTextFile);
}
that would be varname, correct.
Is this the right process for your post?
thanks,
surveysays
-
Yes that's right
put this in textfile.txt
urltogo=http://www.yahoo.com
on frame
loadVariablesNum("textfile.txt", 0);
on button
on (release) {
getURL(urltogo);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|