Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139