1 Reply Latest reply on Dec 11, 2007 1:00 PM by Bob Pierce

    Loading external AS2 SWF in AS2

      I want to load the external SWF file which is in AS2 in to my SWF file which is also in AS2.. The problem I am facing is I am able to load external SWF but I am not able to pass the Flash vars to that SWF.. Here is my Code

      var _mcl:MovieClipLoader = new MovieClipLoader();
      var _listener:Object = new Object();
      _listener.onLoadInit = function(_mc:MovieClip)
      trace("Done loading...");


      this.createEmptyMovieClip("_mc", this.getNextHighestDepth());
      _mcl.loadClip(" http://www.xyz.com/xyz/xyz.swf?200711900&local=true", _mc);

      So the xyz.swf is not able to read the variable local I am passing as a flash variable..

      So how can I accomplish passing flashvars to this xyz.swf