1 Reply Latest reply on Jun 21, 2013 4:48 AM by Ned Murphy

    The class or interface 'URL Variables' could not be loaded

    Emraan.Khan

      what should i do for this problem is my action scripts...

      my scripts is....

       

      import mx.transitions.Tween;

      import mx.transitions.Zoom.*;

      import caurina.transitions.*;

       

       

      import flash.net.URLRequest;

      import flash.net.URLVariables;

       

      var myGalleryXML = new XML();

      myGalleryXML.ignoreWhite = true;

       

      /*new*/

      var search = 'all';

      var filter = 'all';

       

      var search:String = ExternalInterface.call("window.location.search");

      var vars:URLVariables = new URLVariables(search);

      trace(vars.search);

      trace(vars.filter);

      if(vars.search!='all' and vars.filter!='all')

      {

          search= vars.search;

          filter=vars.filter;

           }

       

      myGalleryXML.load("http://supremeinv.in/demo/index.php/"+search+"/"+filter);

       

      .............................

      ...............................