Quote:
Originally Posted by marSoul
hi 
Like this :
- Code: Select all
url[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
then you can create a button and put a dynamic text box into it which reads this url[i] value
|
I did like you said. I made a textfield,named it url_txt and put it inside a button. I put this on it:
- Code: Select all
on(release){getURL(url,"_blank");}
so far so good (I think)
I put your script in the flashfile.
I put this in the
xml
- Code: Select all
<images>
<pic>
<image>http://www.gotoandflash.com/xavier/1.jpg<links>http://www.google.com</links></image>
<description>mooi!!</description>
<url>'http://www.google.com'</url>
</pic>
blabla and so on
then when I try run it I get :
1. all the 5 urls I put in the
xml load in at once
2.*** Security Sandbox Violation ***pops up

I have no idea what I did wong since i dont know what im doing in the first place..I put the files online for you to have a look at,maybe then its more clear.