LoadVars + ASP Problem

I’m trying out connecting Flash to a MS Access DB via ASP.

However, try as I may, I can’t get it to load anything. It just says “Transferring Data…” and doesn’t do anything.

this is my code in Flash (in first frame of movie):


c.onLoad = function() {
  
  for (i in this) {
    bodyText.text += i + " = " + this* + "
";
  }
}

var c = new LoadVars();
bodyText.text = "returned from ASP: 

";
c.load("flash.asp");
loadedBytes = c.getBytesLoaded();
totalBytes = c.getBytesTotal();
loadtext= loadedBytes+"/"+totalBytes;

The movie is simply 2 dynamic text boxes in frame one of the movie (different layer to AS). One called bodyText (main output window), and one called loadtext (which acts as an indicator of how much data is loaded).

I have the ASP script set up OK - the data is retrieved from the DB, and is properly URLEncoded.

Can anyone shed any light on this? I’ve spent near enough a day trying to get this working. … :-\

nevermind, fixed it…