Forum Moderators: open
You can use loadVars to get the url from a plain text file and apply that to a button.
Alternatively, you can pass the url as a variable in the <param> and <embed> tags that put the flash into your page.
eg.
<param value="mymovies.swf?url=http://www.myurl.com">
then in the AS something like:
mybutton.onRelease {
getURL(url);
}
*youll need to check the syntax on that though