phorte
April 15th, 2003, 06:35 AM
Hi all,
I have got myself into a bit of a problem here and i thought maybe you guys could help me out. Okay its like this.
I have a button and I want it to go to URL when u click on it, at the moment i have getURL(....) action on it, but what i would like to be able to do is too be able to change the URL the button goes to from an external txt file. I thought that if the URL is written inside the txt file and the txt file is loaded into the swf then i have a variable of the URL and then when on the button i just tell it to go to the vaiable, which is the URL.
Yet i am not really so sure how to do that. I am guessing there is goin to be a laod function somewhere.. but im not very sure..
Just one more thing.. if i do it this way.. will it still work on flash 5??
Thanks in advance..
/Aussie Devil
I have got myself into a bit of a problem here and i thought maybe you guys could help me out. Okay its like this.
I have a button and I want it to go to URL when u click on it, at the moment i have getURL(....) action on it, but what i would like to be able to do is too be able to change the URL the button goes to from an external txt file. I thought that if the URL is written inside the txt file and the txt file is loaded into the swf then i have a variable of the URL and then when on the button i just tell it to go to the vaiable, which is the URL.
Yet i am not really so sure how to do that. I am guessing there is goin to be a laod function somewhere.. but im not very sure..
Just one more thing.. if i do it this way.. will it still work on flash 5??
Thanks in advance..
/Aussie Devil