Button problem

is there a way, if i have a clear button in my movie with a load url actionscipt in it. is there a way to change the link of that url dynamicly. i know that sounds sort of crazy and ghetto, but is it possible?

rL

myurl = "http://someurl.com"
GetURL(myurl, _self)

and then just update myurl dynamicly

:slight_smile:

i must be a little slow, how would i get the url then? just have a txt file with myurl=

could the myurls be added as a line in this xml doc or would the text file be better.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data[
	<!ELEMENT title (comments, image)>
	<!ATTLIST title name CDATA #REQUIRED>
	<!ELEMENT comments (#PCDATA)>
	<!ELEMENT image (#PCDATA)>
]>
<data>
	<title name="The first item in news flash, change image link below">
		<comments></comments>
		<image>images/FeaturedEvent/impact.jpg</image>
	</title>
	<title name="The second item in news flash, change image link below">
		<comments></comments>
		<image>images/FeaturedEvent/lee.jpg</image>
	</title>
	<title name="The third item in news flash, change image link below">
		<comments></comments>
		<image>images/FeaturedEvent/newBuild.jpg</image>
	</title>
	
</data>