LoadVars works in Firefox but not IE

Posted on 2006-04-26
Last Modified: 2010-04-03
Here is my code:

       var localeven = new LoadVars();
      // call the load method to load my asp page

      localeven.onLoad = function( success )
                  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?
Question by:JohnHowlett
    LVL 4

    Expert Comment

    try sendAndLoad
    LVL 4

    Author Comment

    Tried it.
    Same symptoms.

    Is this an IE security issue? (Although I am trying to load an asp file from within the same domain.)
    LVL 4

    Accepted Solution

    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)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now