6 Replies Latest reply on Nov 11, 2007 7:42 PM by Newsgroup_User

    How to check if a variable is loaded from php** Urgent Please

    MikeM2
      in a frame before im loading the variables in; I check the debugger and its successfully is in. But for some reason when i goto test "IF" the variable it keeps coming up as "CLEARED" in the debugger even when the variable hasnt been loaded yet... I cant figure out at all....

      trace (_level0.FID);
      if(_level0.FID == "undefined")
      {
      trace("UNCLEARED");
      }
      else
      {
      trace("CLEARED");
      }





      and heres a debug view of running it:

      Waiting for Player to connect...
      Remote Flash Player: xx
      undefined
      CLEARED
      undefined
      CLEARED
      undefined
      CLEARED
      test.flv
      CLEARED
      test.flv
      CLEARED