0 Replies Latest reply on Aug 28, 2006 12:40 PM by yogi bear

    dynamic text won't show/load

    yogi bear Level 1
      I've been using my stock code for loading variables but it won't work here. Any thoughts.

      Frame "start"
      gProject = new LoadVars();

      gProject.sendAndLoad("getProject.php?id=12", gProject, "GET");

      gProject.onLoad = function (success){
      if (success){
      trace ("done loading");
      gotoAndPlay("show");

      }else{
      trace ("not loaded");
      }
      }

      Frame "show"
      item = gProject.proName;
      ID = gProject.proId;
      proid = gProject.proProject;
      description = gProject.proDescription;


      stop();


      The text is not showing. I've checked the PHP and it works fine. I'm stumped. Is there a code error?

      Thanks
      yogi b