PDA

View Full Version : button problem



rlLife
August 23rd, 2004, 12:33 PM
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

Uli
August 23rd, 2004, 12:40 PM
myurl = "http://someurl.com"
GetURL(myurl, _self)

and then just update myurl dynamicly

:)

rlLife
August 23rd, 2004, 01:12 PM
i must be a little slow, how would i get the url then? just have a txt file with myurl=

rlLife
August 23rd, 2004, 01:43 PM
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>