-
To retrieve remote xml files, like the XML Tutorial here on Flash Kit illustrates, just call on the following ASP page rather then the remote address.
Unfortunately, I have only done this so far is ASP. I'll be working on a PHP version and hopefully someone out there can create a Perl version.
Here it is... Just Copy and Paste it into a new text file and name it fetchXML.asp. Then call on fetchXML.asp from the Flash file.
Code:
<%@ Language="VBScript" %>
<%option explicit %>
<%
' - Just Change the Value of srcFile to the proper moreover xml stream.
' - Go to http://w.moreover.com/categories/category_list_xml.html
' - For a Full listing of all of the content available
' - Instead of Directing the Flash File at a .xml file, direct it to this file.
Dim srcFile
srcFile = "http://p.moreover.com/cgi-local/page?c=Pop%20music%20news&o=xml"
'Nothing Below Here Has To Change
Response.Buffer = True
Dim objXMLHTTP, xml
' Create an xmlhttp Object and Get it!
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", srcFile, False
xml.Send
'Write Text to File
Response.Write xml.responseText
Set xml = Nothing
%>
That's It!
-
oh your sexy....
Works great!!
Thanks alot.
jw taylor
http://webdesign.naxs.com
-
do i have to insert Microsoft.XMLHTTP instead of the moreover url in the flash file?