LoadVars works in Firefox but not IE

Here is my code:

       var localeven = new LoadVars();
      // call the load method to load my asp page
      localeven.load("http://www..........");

      localeven.onLoad = function( success )
      {
            if(success)
            {
                  //........
            }
            else
            {
                  trace("Error loading page");
                        //........output error message
            }
       }

As I say, works fine in Firefox (and in Flash MX 2004 Professional), but IE doesn't load anything in (and returns my eror message)
Any suggestions?
LVL 4
JohnHowlettAsked:
Who is Participating?
 
nysurf1Commented:
your flash is correct and should work fine for all browsers . my guess is check your asp file , maybe you have some error there that the firefox browser was more forgivin about .  (if the asp page returns an error it will not load itself to flash)
0
 
nysurf1Commented:
try sendAndLoad
0
 
JohnHowlettAuthor Commented:
Tried it.
Same symptoms.

Is this an IE security issue? (Although I am trying to load an asp file from within the same domain.)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.