Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
AwesomeDigital #1
XML Data Source
I am thinking of creating an online application using an XML file as it's
primary data source. The XML file on the web server will be refreshed via FTP a
few times a week.
Will users get the latest version of the XML file each time they visit the
page, or will they use what is already in their cache?
I want to make sure that they get the latest version each time. Is there a way
I can do that?
Thanks
Mathias
AwesomeDigital Guest
-
Transfering data from outside source
Not sure if this is the right forum for this but, I have a client that wants his groups data to transfer over from his site on to hidden fields on... -
Data Source Not Found
I'm drawing a blank on this...hope someone can help. I'm quite accustomed to working on local CF & dB servers, but now have my personal site on a... -
Data source name too long (asp)
I am using asp and I am trying to set up a custom connection string using the Dreamweaver menus. I have entered the following into the Connection... -
moving data from one data source to another
I'm trying to move data from one data source to another. I don't want to loop - because it will kill performance. A simple Select into or Insert... -
about data source???
I have an access database developed. I have added a new table to link to the original developed table. Then I want to change my original form and... -
conquerors04 #2
Re: XML Data Source
If you write the XML data using PHP, you can use the header functions to clean cache file and load new data.
conquerors04 Guest
-
ay13 #3
Re: XML Data Source
here is another option that i know works.. the only problem is i dont really
know how to implement it.. so if someone can tell me that you would help 2
people at once.. when you call the xml file you can give it a random number
(usually the time and date) after the file name so each time the person loads
the flash file they will load a fresh version of the xml file. the code to do
this is
myXml.load("somefile.xml?nocache=" + newDate().getTime());
that is the code if you are using actionscript, i am hopeing someone can show
me how to use this trick using the xmlconnector data component because i am not
that good with actionscript and the data components make is sooooo much easier
for us designers..
ay13 Guest
-
AwesomeDigital #4
Re: XML Data Source
The following worked for me
// load XML
//a random number at the end of the URL to prevent caching:
var dynamicURL:String = "http://wsp709226/menu1.xml?noCache=" + ( new
Date().getTime() );
menu_xml.load(dynamicURL);
AwesomeDigital Guest
-
ay13 #5
Re: XML Data Source
can this be used in conjunction with the xml connector component? do i just
type that in on the same frame that i put the xml connector and just leave the
URL field in the property inspector blank.. sorry for all the ?'s .. i just was
curious were to insert the code..
ay13 Guest



Reply With Quote

