Welcome, Guest
  • Author Topic: loadVars onLoad???  (Read 690 times)

    Flashsucker

    • Server what's that
    • *
    • Posts: 48
      • View Profile
      • Email
    loadVars onLoad???
    « on: 05/08/03, 11:47 »
    Hi all,

    I'm using the LoadVars object to pull data from an ASP.net script. I'm having some trouble with the functio that I set up to trigger once the data has loaded.

    So a simple question:

    When you use loadVar, does the success function fire off as soon as data is loaded or when all of the data is loaded?

    Someone told me that I needed to add a loop to make sure all of the data is loaded... but I though you didn;t need that if you use the LoadVar object...

    Thanks ???

    Govinda

    • Mods
    • Systems Administrator
    • *****
    • Posts: 510
    • If You Want To Be Big Then Solve Big Problems
      • View Profile
      • Mitr Learning & Media
      • Email
    Re:loadVars onLoad???
    « Reply #1 on: 05/08/03, 23:28 »
    HI. I don't know asp.net. And when you are using LoadVars Object then there is no need of using loops to see whether the data has loaded or not. Just simple use MyLoadVars.onLoad = function(success){}...It invokes when the whole data is loaded.
    .: Govinda :.