Old 10-22-2008, 10:33 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default change xml file name?

Hello,
Great file;
however, I am trying to name the xml a different name than "news.xml"
Where do I change this in the Flash file so that the swf looks for the newly named xml file?

Thanks for your help.
why15 is offline   Reply With Quote
Old 06-10-2009, 08:19 PM   #2 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 12
Default

In your news.as file find the code that looks like this:

function init(){
//begin loading XML file
XMLRead("http://www.mysite.com/News/latestnews.xml?nocache=" + random(1515));
//assign event handlers

Change the name in the part that I set in bold. This is how I set mine up.
Ravyn is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:50 AM.